ManagesDatabaseUsers
interface ManagesDatabaseUsers implements TenantDatabaseManager (View source)
Methods
array
makeConnectionConfig(array $baseConfig, string $databaseName)
Construct a DB connection config array.
bool
bool
bool
userExists(string $username)
Does a database user exist?
Details
bool
createDatabase(TenantWithDatabase $tenant)
Create a database.
bool
deleteDatabase(TenantWithDatabase $tenant)
Delete a database.
bool
databaseExists(string $name)
Does a database exist?
array
makeConnectionConfig(array $baseConfig, string $databaseName)
Construct a DB connection config array.
bool
createUser(DatabaseConfig $databaseConfig)
Create a database user.
bool
deleteUser(DatabaseConfig $databaseConfig)
Delete a database user.
bool
userExists(string $username)
Does a database user exist?