We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25feeaf commit 0332e61Copy full SHA for 0332e61
1 file changed
wp-includes/sqlite/class-wp-sqlite-db.php
@@ -308,7 +308,10 @@ public function db_connect( $allow_bail = true ) {
308
}
309
if ( defined( 'WP_SQLITE_AST_DRIVER' ) && WP_SQLITE_AST_DRIVER ) {
310
if ( null === $this->dbname || '' === $this->dbname ) {
311
- $this->bail( 'The database name was not set.', 'db_connect_fail' );
+ $this->bail(
312
+ 'The database name was not set. The SQLite driver requires a database name to be set to emulate MySQL information schema tables.',
313
+ 'db_connect_fail'
314
+ );
315
return false;
316
317
0 commit comments