• toothbrsh

    (@toothbrsh)


    i have been getting the message “Your PHP installation appears to be missing the MySQL which is required for WordPress.” when i call wp-admin/install.php..

    after checking on my hosting website for the database name, database username/password and host name.. and then rechecking by calling their support.. i am quite sure i have all those details correct..

    i have looked at this post and using the little code to show all PHP information.. and it seems MySQL database is NOT enabled.. (you can see it here)

    so.. is the problem with the host ? or is it something i’ve done wrong ?

    any help is really appreciated.. cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • greenredbrownell

    (@greenredbrownell)

    I had the same problem. Check this thread for my last post.

    http://wordpress.org/support/topic.php?id=14126

    In my case, I was on a GoDaddy server using Windows. If I commented out the lines that were producing the error you mentioned, I was able to get the installation to succeed. In other words, the server *did* support the “mysql” extension, but the extension_loaded() call was saying that it wasn’t supported.

    If you want to check your server for the mysql extension the way I did, follow the link above to the other thread. You can add one line (get_loaded_extensions, or something like that), just before the “die” statement, which will print out a list of the supported extensions. Then, re-upload your “diagnostic” script and start over with install.php, and it’ll display.

    I’ll bet you’ll find “mysql” on there, and can comment out the lines, the same as me. If ‘mysql” isn’t on the list, you’ll have to get in touch with your hosting provider….

    Thread Starter toothbrsh

    (@toothbrsh)

    thanks for the reply GreenRedBrownell.. i literally *just* figured out how to get round this problem.. i removed the extension_loaded thing.. then i got loads of errors saying tables not found..

    it took me a while to realise that i could just ignore all those errors and proceed.. now i have everything up and running.. !! yaay!!

    cheers !

    greenredbrownell

    (@greenredbrownell)

    Ya, it took me *days* to figure out to ignore all those errors and just go install the damn thing, so it could set up the data base tables….

    Glad to hear it’s solved…

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘can’t find MySQL database’ is closed to new replies.