|
MediaWiki master
|
Inherits MediaWiki\Installer\NetworkedDatabaseCreator.

Protected Member Functions | |||||||
| createInConnection (IDatabase $conn, $database) | |||||||
Create a database on a connection.
| |||||||
| existsInConnection (IDatabase $conn, $database) | |||||||
Determine whether a database exists on a connection.
| |||||||
Protected Member Functions inherited from MediaWiki\Installer\DatabaseCreator | |||||||
| __construct (ITaskContext $context) | |||||||
Additional Inherited Members | |||||||
Public Member Functions inherited from MediaWiki\Installer\NetworkedDatabaseCreator | |||||||
| createInLoadBalancer (ILoadBalancer $loadBalancer, $database) | |||||||
Create a database in the specified LoadBalancer which may be for an external cluster.
| |||||||
| createLocally ( $database) | |||||||
Create a database in the local cluster or install context.
| |||||||
| existsInLoadBalancer (ILoadBalancer $loadBalancer, $database) | |||||||
Check if a database exists in the specified LoadBalancer which may be for an external cluster.
| |||||||
| existsLocally ( $database) | |||||||
Check if a database exists on the local cluster or context.
| |||||||
Static Public Member Functions inherited from MediaWiki\Installer\DatabaseCreator | |||||||
| static | createInstance (ITaskContext $context) | ||||||
Protected Attributes inherited from MediaWiki\Installer\DatabaseCreator | |||||||
| ITaskContext | $context | ||||||
Definition at line 8 of file MysqlDatabaseCreator.php.
|
protected |
Create a database on a connection.
| IDatabase | $conn | |
| string | $database |
Reimplemented from MediaWiki\Installer\NetworkedDatabaseCreator.
Definition at line 20 of file MysqlDatabaseCreator.php.
|
protected |
Determine whether a database exists on a connection.
| IDatabase | $conn | |
| string | $database |
Reimplemented from MediaWiki\Installer\NetworkedDatabaseCreator.
Definition at line 10 of file MysqlDatabaseCreator.php.
References Wikimedia\Rdbms\IReadableDatabase\newSelectQueryBuilder().