• gavin_hao

    (@gavin_hao)


    the erro information is as follow:
    Your PHP installation appears to be missing the MySQL which is required for WordPress.

    the content of wp-config.php is:
    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wpress’); // The name of the database
    define(‘DB_USER’, ‘gavin’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘xxxxxx’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    //define (‘WPLANG’, ‘en.mo’);

    /* That’s all, stop editing! Happy blogging. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>
    i have created a database in MySql called wpress.
    what gose wrong???

Viewing 6 replies - 1 through 6 (of 6 total)
  • are you sure your host doesn’t prefix your database with your user name? I know some cpanel installs add yourusername_databasename and yourusername_username

    ladydelaluna

    (@ladydelaluna)

    that, or you might be one of the “1%” whose DB_HOST is NOT ‘localhost’

    i know that with godaddy, for example, it’s mysql##.secureserver.net (where ‘##’ is a number)

    moshu

    (@moshu)

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

    This usually means PHP and MySQL are not “talking” to each other. They both might be installed but there is something in PHP that has to be added or turned on… can’t remember. (just copy your error message in the search box and you’ll see lots of similar posts)

    Thread Starter gavin_hao

    (@gavin_hao)

    i tried but it doesnt work.should it like this:

    [long code moderated]

    Thread Starter gavin_hao

    (@gavin_hao)

    i set my wp-config.php as:
    define(‘DB_NAME’, ‘gavin_wpress’); // The name of the database
    define(‘DB_USER’, ‘gavin_gavin’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘xxxxx’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    and also i have set
    extension_dir = “ext/”

    extension=php_mysql.dll
    in php.ini

    but it still not work!

    moshu

    (@moshu)

    Read my post above. The error message you quoted has nothing to do with the config file…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Your PHP installation appears to be missing the MySQL which is required for Word’ is closed to new replies.