WordPress.org

Ready to get started?Download WordPress

Forums

Error establishing a database connection (6 posts)

  1. VinceA
    Member
    Posted 8 years ago #

    I'm trying to make WordPress run locally on my PC but have problems setting it up. (I tried to look at the many many posts on this subject, but couldn't find a solution for myself...)

    - MySQL 5.0
    - PHP 4.4.1
    - hosted on my pc (using IIS).

    I created a database named 'wordpress' and I can connect to it from within the mysql shell, but for some reason WordPress just couldn't connect to it. I'm sure the dbname, dbpassword, and dbhost are correct.

    I tinkered with the wordpress php source to find out the problem and I managed to get it to print out this error message:

    "WordPress database error: [Client does not support authentication protocol requested by server; consider upgrading MySQL client]"

    I installed MySQL using default settings.
    Any help? What else should I look for? Thanks!

  2. chaaban
    Member
    Posted 8 years ago #

    i think best way to start using php and mysql on local is by using easyphp it will install php , mysql and phpMyadmin its a very nice and free software

    i know this might not answer your question ... but it can help you alot dealing with mysql and php

    here is the link for easyphp : http://www.easyphp.org/?lang=en

  3. VinceA
    Member
    Posted 8 years ago #

    Hi, no it doesn't answer my question, but it gave me the idea to try and see first if my PHP installation works with MySQL independent of WordPress. Thanks.

  4. moshu
    Member
    Posted 8 years ago #

    Setting up a server (even a local one) is not something that should be discussed on the WP Forum because it is not a WP issue. I assume there are many specialized sites/fora for this kind of questions, so please, ask there.

  5. Obie
    Member
    Posted 8 years ago #

    We are getting this same error:
    "We were able to connect to the database server (which means your username and password is okay) but not able to select the mysite_wordpress database."

    The database certainly exists.
    And I have the correct name with the prefix in wp-config.php

    Where do we go from here?

Topic Closed

This topic has been closed to new replies.

About this Topic