Support » Installing WordPress » Can’t select database

  • HI All,

    recently updated our Centos server to PHP 5.3.5 and MYSQL 5.1

    All existing wordpress sites are working fine.. When trying to setup a new one. We simply get the following after entering details to access the database. I have tried using Fantastico but this fails to connect to the DB aswell.

    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 name_database database.

    * Are you sure it exists?
    * Does the user name_user have permission to use the name_database database?

    Any thoughts on this? or pointers.. i need to get a new site setup

Viewing 3 replies - 1 through 3 (of 3 total)
  • did you allow all privileges when you created the database.


    There are options:
    1. You’ve provided wrong database name.
    2. Database user has no permissions to access database.

    Thanks for the tips.

    It appears that although I am trying to give the rights to the user when creating it and the database the rights were not getting applied.

    I assigned these using PHPmyadmin and now all ok

    think this is a problem with my cpanel

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t select database’ is closed to new replies.