I'm encountering a very weird problem where my database settings look like this in database.inc:openConnection()
array(1) {
["default"]=>
array(6) {
["driver"]=>
string(1) "A"
["database"]=>
string(1) "A"
["username"]=>
string(1) "A"
["password"]=>
string(1) "A"
["host"]=>
string(1) "A"
["port"]=>
string(1) "A"
}
}
It's after I moved the site to a new host with Ubuntu 14.04, so PHP and MySQL are now on a different version.
Another related strange thing is that drush sql-connect
is not returning anything.
The result of global $databases; var_dump($databases);
looks normal.