I've been attempting to install drupal (with the aidof phpMyAdmin) but have ended up getting the following message in my browser when attempting to view the site:

"unable to select database"

Is there a checklist I can follow to troubleshoot this?

Thanks
Adam

Comments

Adam_C-1’s picture

Have found the problem. Aplogies for flooding the board with my crap!

Steven’s picture

Check the database name in your configuration file. It's the last part of $db_url.

Adam_C-1’s picture

you were right Steven, thanks

MySchizoBuddy’s picture

using 4.6.1 and there is NO conf.php file in drupal directory

judah’s picture

this could also be a privileges issue. make sure to check permissions are granted to this user. recreate the user if need be.

if your user you created does not have permissions to access or manipulate the database it will not be visible to it. so the user cannot see the database and therefore cannot select the database.

the error should be written "unable to find database".