MyBB Community Forums

Full Version: "Unable to select database" ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Had 2 similar databases and deleted one, now get below MyBB SQL Error message when try to load forum site...

Quote:MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
0 -
Query:
[READ] Unable to select database
Please contact the MyBB Group for support.

How to connect with current DB ?
Way to change database reference at forum files ?
Searched forums for answer, but so far no luck.
This occurs when you are using MySQL and the database name or database username is incorrect in ./inc/config.php. To fix this, open ./inc/config.php and check the entries for $config['database']['database'] and $config['database']['username']. If you do not know what needs to be here, contact your host provider.

http://docs.mybb.com/Help-Common_Error_Messages.html
(2012-06-26, 07:09 PM)Yaldaram Wrote: [ -> ]This occurs when you are using MySQL and the database name or database username is incorrect in ./inc/config.php. To fix this, open ./inc/config.php and check the entries for $config['database']['database'] and $config['database']['username']. If you do not know what needs to be here, contact your host provider.
http://docs.mybb.com/Help-Common_Error_Messages.html

Thank you very much for the info !