Our lovely domain host switched us to a new server, but didn't bother to mention that we need to upgrade all mySQL lines. :-(
We have double checked, but cannot figure out why we can connect to the DB with test code, but not with the live code. The connection works, below, but fails at the "mysqli_select_db" line below.
Can anyone help, please.
}
}if (!(mysqli_connect(CONFIG_SQL_HOST, CONFIG_SQL_USERNAME, CONFIG_SQL_PASSWORD, CONFIG_SQL_DATABASE))) {
exit('mySQL username/password incorrect.');
;
}
if (!(mysqli_select_db(CONFIG_SQL_DATABASE))) {
exit('mySQL Database incorrect.');
;*
}