Support » Installation » my php doesn’t find mysql

my php doesn’t find mysql

  • Trying to install WordPress on a Fedora Core 3 system. I get the following message when I run install.php:

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

    However … i can log on both as root and as the user I’ve defined for wordpress onto mysl from the command line. The database, username and password in config.php is correct (and all work from command line).
    I have mysql server 4.0.34, php 4.3.11, and php-mysql 4.3.11 all showing as installed rpms.

    Is there a configuration file for php that I should be checking for path? Any other ideas?

Viewing 15 replies - 1 through 15 (of 25 total)
  • Put that error message in the search box (top right)

    i’ve read about a hundred posts trying to find other windows users with the problem of this:

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

    getting shoved down our throats. i have done some of the things that seem to have helped others, but didn’t work on my system. i’m getting frustrated with it actually. if MT is fine with php & mysql, why would wordpress be bitchy about some ‘missing database’. is this a perms issue? or an IIS issue? cuz, can’t be a database issue because IT HASN’T BEEN CREATED YET.

    sorry, but i’m pulling my hair out over this.

    leQ – what is your OS / WAMP setup ?

    using IIS on XP pro.

    and thanks!

    what is WAMP? windows authentication?

    I’m on XP Home – no IIS.

    WAMP: Windows Apache Mysql Php

    I have zero experience with IIS. I don’t know why you want to use IIS as opposed to anything else (unless it’s just because it is there ?) but I have experience – and totally recommend Xampp).
    You can download it from here:
    and it is incredibly easy to use – one click install.

    You will need to stop IIS though as they compete for ports.

    Sound useful ?

    i just installed it, and will let ya know how it goes. i hate to feel that wordpress beat me, hence i feel compelled to get it working for some inane reason. i just really like the look of wordpress as opposed to the other engines out there.

    i can’t tell you how much i appreciate your pointing me to xampp.

    thank you thank you thank you.
    you are the man (or woman)

    I have just done the famous 5 minute install to my ISP’s system. But of course WordPress announces it cannot find MySQL. It says: “Error establishing a database connection.” I’m not surprised, I know nothing about MySql and there’s apparently nothing in the docs. I am a non-nerd uploading it to my ISP… how and what am I supposed to know about MySQL?

    Moderator James Huff


    Support Team Rep.

    You’ll have to ask your ISP about how to access MySQL on their servers.

    My ISP Says:

    accessing mySQL database from PHP
    To contact a MySQL server, you need the following four items:

    The host name;
    The database name;
    The user name;
    The password.

    The function to make contact is mysql-connect:

    That’s it (ISP is Vevida.nl)

    Does that help?



    Those are exactly the four items you need to put into your config file. If your host offers a database in your account there should be somewhere information about those 4 things 🙂
    If you have them correctly in the wp-config.php file, you don’t really need to know anything about MySQL…

    But is the database name e.g. the same as my account/domain?

    (That was a quesiton for other users of Vevida…)

    Moderator James Huff


    Support Team Rep.

    mcleaver, you’ll have better luck asking server-specific questions to your hosting provider’s support dept.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘my php doesn’t find mysql’ is closed to new replies.