Thursday, January 5, 2012

WordPress installation error

errorwordpress logo

Can’t select database

We were able to connect to the database server (which means your username and password is okay) but not able to select the wordpress database.
  • Are you sure it exists?
  • Does the user root have permission to use the wordpress database?
  • On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?
If you don't know how to set up a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.

 

Solution

Make sure that, database name in wp-config.php file is same as the name in phpmyadmin

No comments: