getDefaultDatabaseName() public method
Returns default database name, if it is not set, attempts to determine it from $dsn value.
public string getDefaultDatabaseName ( ) | ||
---|---|---|
return | string |
Default database name |
throws | yii\base\InvalidConfigException |
if unable to determine default database name. |
Please login to continue.