Support » Installing WordPress » Can’t find MySQL

  • 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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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…

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

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

    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:


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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t find MySQL’ is closed to new replies.