Community

PDOException: SQLSTATE[42000] [1049] Unknown database

I recently installed Drupal on my server and have the database all setup and the settings.php pointing correctly, but I receive the following error: PDOException: SQLSTATE[42000] [1049] Unknown database. I know the database is setup, but it still cannot find it and I am not sure why it cannot see it.

Any Advice?

Comments

That's a very hard question

That's a very hard question to answer without seeing your setup.

Sometimes, databases have unexpected names. For instance, if you have a database named fancy_colorful_info, you might see it in some places as colorful_info.

Explain exactly what you've done and when this error pops up.

Also, you're posting in the wrong forum. You should be in https://drupal.org/forum/1.

--
www.ztwistbooks.com. Math books that are actually fun.