• I created a blog on my laptop using “local host.” I am now trying to upload it to Mad Dog. I first uploaded the html index file and got “It Works.” message when I typed my domain name in.

    After I uploaded the files I get a word press error page.

    Please check it out here:

    This is what the error says:

    “Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?”

    Any ideas what I should do?

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter scowman

    (@scowman)

    This is what my wp-config.php file says:

    “<?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘root’); // Your MySQL username
    define(‘DB_PASSWORD’, ”); // …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’, ”);

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

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>”

    Do you think I need to change anything?

Viewing 1 replies (of 1 total)

The topic ‘Mad Dog Upload Problems’ is closed to new replies.