WordPress.org

Ready to get started?Download WordPress

Forums

MYSQL install issue (3 posts)

  1. Anonymous
    Unregistered
    Posted 5 years ago #

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

    I've checked the wp-config.php file repeatedly trying different options for "localhost" and replacing it with the host address for MySQL database form Godaddy and I get teh same error. I have tried it with DSN installed with the database and without.

    I have WordPress running on another site hosted by Godaddy so I am baffled. Any help would be appreciated.
    Mike M

  2. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    I remember installing WordPress for a friend who was hosted by GoDaddy.com earlier this year. The DB_HOST was soomething like
    ***mysql*.secureserver.net
    Perhaps you need to double-check the DB_HOST info in your control panel and maybe ask GoDaddy support to confirm the info.
    Good luck.

  3. NC@WP
    Member
    Posted 5 years ago #

    It seems that it is not a WordPress problem; its roots are deeper, in PHP configuration...

    Create a *.php file (it doesn't matter what you call it and where you put it, but let's say you called it test.php and it is located in your site's root directory). In that file, write just this one line:

    <?php phpinfo(); ?>

    Then run this script as http://yoursite.com/test.php; it will produce a lot of technical information about your PHP installation. Look for mysql in the output. If you have MySQL extention enabled, you will see a table listing different settings for it, something like this (in a table format):

    MySQL Support            enabled
    Active Persistent Links        0
    Active Links                   0
    Client API version        5.0.18

    If you see no references to MySQL in the phpinfo() output, contact your hosting company and ask them to figure out why your PHP installation is not configured for MySQL access (it's possible that you have a hosting plan that doesn't have this feature, so you may have to upgrade).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags