Forums

[resolved] mySQL select database issues (4 posts)

  1. kyles3d
    Member
    Posted 2 years ago #

    I have installed wordpress per instructions they include and they're error message says that my user name and password are correct but wordpress is not able to select the database? Here's the exact wording:

    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 database I created.

    * Are you sure it exists?
    * 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 setup a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.
    I have also talked with my hosting company and they said that the database name is there and looks like it's in the right place under wp-config.php.

  2. kyles3d
    Member
    Posted 2 years ago #

    I deleted it off the server and reinstalled it. Using the file editor option with my web host I changed the wp-config.php settings while it was live on server and it works awesome now. So I dont know what happened. Maybe when I changed the wp-config.php file settings in wordpad and then uploaded it I corrupted the file.

  3. Tripper44
    Member
    Posted 2 years ago #

    Hi

    I fixed this by doing the following, I had my database connection setup to use the name 'ben'@'localhost' and when i used the following command in the mysql command line I no longer got the error:

    SET PASSWORD FOR 'root'@'localhost' = OLD_PASSWORD('mymysqlpassword');

  4. jordanstudio
    Member
    Posted 2 years ago #

    Hi,
    can you help me please!
    the same is happernig to me Tripper44

    Can you help Please ?!?!

Topic Closed

This topic has been closed to new replies.

About this Topic