WordPress.org

Forums

Can't find MySQL (5 posts)

  1. cmyoung4
    Member
    Posted 10 years ago #

    I have installed PHP, MySQL (4.0.24), and WordPress (1.5.1) on my local W2K box. I've created the database and user in MySQL and checked in the administrator tool to ensure that they both exist. Now when I run the install.php page, I get the message:

    "Your PHP installation appears to be missing the MySQL which is required for WordPress."

    As far as I can tell, my wp-config file looks OK (the database, username and password match the settings in MySQL):

    // ** MySQL settings ** //
    define('DB_NAME', 'dtblog'); // The name of the database
    define('DB_USER', 'wordpress'); // Your MySQL username
    define('DB_PASSWORD', 'zjw868'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    Thanks in advance for your help!

  2. moshu
    Member
    Posted 10 years ago #

    My guess is MySQL and PHP don't "talk" to each other. For my local machine I installed XAMPP and it works like a charm...

  3. Jenny37
    Member
    Posted 10 years ago #

    I had the same error message... I figured out a resolution... Check this thread for more information.

    http://wordpress.org/support/topic/33536

  4. moshu
    Member
    Posted 10 years ago #

    Jenny37,
    the only difference is that you are on a hosted environment and the OP has a local install.

  5. starritt
    Member
    Posted 10 years ago #

    What PHP version? If it is PHP 5 then you will need to specifically uncomment the MySQL extension as it is not enabled by default.

    look for a line something like this:

    ;extension=php_msql.dll

    remove the leading semi-colon -- this will be different on Linux where you will have to compile PHP 5 with MySQL support.

Topic Closed

This topic has been closed to new replies.

About this Topic