Paradox/toolbox/DatabaseManager.php
public function createDatabase($name)
    {
        try {
            Database::create($this->getConnection(), $name);

            return true;

        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new DatabaseManagerException($normalised['message'], $normalised['code']);
        }
    }
public function createDatabase($name)
    {
        try {
            Database::create($this->getConnection(), $name);

            return true;

        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new DatabaseManagerException($normalised['message'], $normalised['code']);
        }
    }
Create a database using the current connection's settings and add it as a connection.
@param  string                   $name The name of the database.
@throws DatabaseManagerException
@return boolean