1 database.inc abstract public DatabaseConnection::createDatabase($database)

Creates a database.

In order to use this method, you must be connected without a database specified.

Parameters

string $database: The name of the database to create.

File

core/includes/database/database.inc, line 1331
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

abstract public function createDatabase($database);