WordPress.org

Forums

Problems with install.php (3 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    Help needed.
    This is the message I've been getting at http://www.haveasay.org/wordpress/wp-admin/install.php.
    ---------------------------------
    Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
    Are you sure you have the correct user/password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    ---------------------------------
    with the config code
    ---------------------------------
    <?php
    /** WordPress's config file **/
    /** http://wordpress.org/ **/
    // ** MySQL settings ** //
    define('DB_NAME', 'loserliz_wordpress'); // The name of the database
    define('DB_USER', 'loserliz_root'); // Your MySQL username
    define('DB_PASSWORD', '*******'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = 'mylogin_'; // example: 'wp_' or 'b2' or 'mylogin_'
    // 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', '');
    /* Stop editing */
    $server = DB_HOST;
    $loginsql = DB_USER;
    $passsql = DB_PASSWORD;
    $base = DB_NAME;
    define('ABSPATH', dirname(__FILE__).'/');
    // Get everything else
    require_once(ABSPATH.'wp-settings.php');
    ?>
    ---------------------------------
    I've checked both the database and username, and they do exist. Hosted at pinchpenny.org and running MySQL 4.0.18, if that makes a difference. Any suggestions would be appreciated, thanks.

  2. TechGnome
    Moderator
    Posted 10 years ago #

    1) Is the file saved as wp-config.php?
    2) Is it in the root (the sample one comes in the admin folder)?
    Tg

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    got it, thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.