Connection::DATABASE_NOT_FOUND

Error code for "Unknown database" error.

File

core/modules/mysql/src/Driver/Database/mysql/Connection.php, line 28

Class

Connection
MySQL implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\mysql\Driver\Database\mysql

Code

const DATABASE_NOT_FOUND = 1049;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.