Can someone tell me how to check if the host, username, database name all are valid and that the user is authorized.
If I for example enter an invalid/unauthorized user I receive this warning, where expected an exception, after invoking connectToDatabase().
Any suggestions?
Warning
-------
{doc_root}/install/install.php(157): fDatabase->getConnection()
/Library/WebServer/Documents/work-sites/mcs_ibob/core/trunk/libs/flourish/fDatabase.php(1498): fDatabase->connectToDatabase()
/Library/WebServer/Documents/work-sites/mcs_ibob/core/trunk/libs/flourish/fDatabase.php(580): mysqli_connect('127.0.0.1', 'test', '', 'development')
[internal function]
mysqli_connect(): (42000/1044): Access denied for user ''@'localhost' to database 'development'