PermissionControlledMySQLDatabaseManager
class PermissionControlledMySQLDatabaseManager extends MySQLDatabaseManager implements ManagesDatabaseUsers (View source)
Traits
Properties
protected string | $connection | from MySQLDatabaseManager | |
static | $grants |
Methods
void
setConnection(string $connection)
Set the DB connection that should be used by the tenant database manager.
from
MySQLDatabaseManager
array
makeConnectionConfig(array $baseConfig, string $databaseName)
Make a DB connection config array.
bool
bool
isVersion8()
No description
bool
bool
userExists(string $username)
No description
Details
protected Connection
database()
No description
void
setConnection(string $connection)
Set the DB connection that should be used by the tenant database manager.
bool
createDatabase(TenantWithDatabase $tenant)
No description
bool
deleteDatabase(TenantWithDatabase $tenant)
No description
bool
databaseExists(string $name)
Does a database exist.
array
makeConnectionConfig(array $baseConfig, string $databaseName)
Make a DB connection config array.
bool
createUser(DatabaseConfig $databaseConfig)
No description
protected bool
isVersion8()
No description
bool
deleteUser(DatabaseConfig $databaseConfig)
No description
bool
userExists(string $username)
No description