Title: Error message
Last modified: August 19, 2016

---

# Error message

 *  [fordage](https://wordpress.org/support/users/fordage/)
 * (@fordage)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/error-message-43/)
 * Hi Please excuse me…I admit I have pretty much no idea what I’m doing. I need
   to be walked through this in baby steps. Any one out there with a little patience…
   gratitude to you!
 * Here’s my message I receive when I click on the:
 * ‘/wp-admin/install.php’ from the read me page.
 * ————————–
 * ERROR: %s’), $error); ?>
 * checked=”checked” />
 * ‘.__(‘Already Installed’).’
 * ‘.__(‘You appear to have already installed WordPress. To reinstall please clear
   your old database tables first.’).’
    ‘);} switch($step) { case 0: case 1: // 
   in case people are directly linking to this display_header(); ?>
 * ReadMe documentation at your leisure. Otherwise, just fill in the information
   below and you’ll be on your way to using the most extendable and powerful personal
   publishing platform in the world.’), ‘../readme.html’); ?>
 * error) ) wp_die($wpdb->error->get_error_message()); display_header(); // Fill
   in the data we gathered $weblog_title = isset($_POST[‘weblog_title’]) ? stripslashes(
   $_POST[‘weblog_title’]) : ”; $admin_email = isset($_POST[‘admin_email’]) ? stripslashes(
   $_POST[‘admin_email’]) : ”; $public = isset($_POST[‘blog_public’]) ? (int) $_POST[‘
   blog_public’] : 0; // check e-mail address $error = false; if (empty($admin_email)){//
   TODO: poka-yoke display_setup_form( __(‘you must provide an e-mail address.’));
   $error = true; } else if (!is_email($admin_email)) { // TODO: poka-yoke display_setup_form(
   __(‘that isn’t a valid e-mail address. E-mail addresses look like: [username@example.com](https://wordpress.org/support/topic/error-message-43/username@example.com?output_format=md)’));
   $error = true; } if ( $error === false ) { $wpdb->show_errors(); $result = wp_install(
   $weblog_title, ‘admin’, $admin_email, $public); extract($result, EXTR_SKIP); ?
   >
 *  admin
    ‘. $password .’ ‘; } echo ‘
 * ‘. $password_message .’
    ‘; ?>
 * ————–
 * When I click on the my site’s url I receive a message that looks like this:
 * Error establishing a database connection
 * ————–
 * I have no idea where I start blogging from or what passwords to use where. I 
   have a GoDaddy SQL database set-up.
    I have read through what feels like a million
   blogs over the past 2 days. It is just not apparent to me. I am not a back-end
   designer.
 * Any info helpful.
 * I believe my errors lie in this section of my ‘wp-config.php’:
 * // ** MySQL settings – You can get this info from your web host ** //
    /** The
   name of the database for WordPress */ define(‘DB_NAME’, ‘Victoria Centre for 
   Natural Health’);
 * /** MySQL database username */
    define(‘DB_USER’, ‘VCNH’);
 * /** MySQL database password */
    define(‘DB_PASSWORD’, ‘my actual password used
   here’);
 * /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);
 * /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’,‘
   utf8’);
 * /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’,”);
 * ???
    Thank-you. Fordage

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

 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/error-message-43/#post-1259548)
 * One thing I can tell you is for
    define(‘DB_HOST’, ‘localhost’); you can’t use
   localhost with GoDaddy. They supply you with the necessary hostname in the database
   section of your hosting account.
 * I suggest you go into the database admin area, start up database administration,
   and delete the database tables that have been created in your WP database. That
   will eliminate “the database tables have already been created” error message.
 *  Thread Starter [fordage](https://wordpress.org/support/users/fordage/)
 * (@fordage)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/error-message-43/#post-1259554)
 * Thank-you!
 * I have still been pushing on my end here to try to figure this out…
 * It now looks like:
 * —
 * // ** MySQL settings – You can get this info from your web host ** //
    /** The
   name of the database for WordPress */ define(‘DB_NAME’, ‘Victoria Centre for 
   Natural Health’);
 * /** MySQL database username */
    define(‘DB_USER’, ‘vcnh’);
 * /** MySQL database password */
    define(‘DB_PASSWORD’, ‘my actual password used
   here’);
 * /** MySQL hostname */
    define(‘DB_HOST’, ‘vcnh.db.5131049.hostedresource.com’);
 * /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’,‘
   utf8’);
 * /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’,”);
 * —
 * So I have the database in place from GoDaddy…I’ve even checked and followed through
   with some of their help postings…
    still in same spot though. I’ve enabled cookies.
 * Could it be a Mac thing? Any issues with WordPress and Mac?
 * Fordage
    (keepin head high)
 *  Thread Starter [fordage](https://wordpress.org/support/users/fordage/)
 * (@fordage)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/error-message-43/#post-1259567)
 * Maybe this image will help.
    I have never used WordPress. Am I supposed to be
   able to control my page from here after loging in with the WP login info?
 * I hope it becomes more straight forward after this installation point!
 * [http://www.victoriacentrefornaturalhealth.com/Picture](http://www.victoriacentrefornaturalhealth.com/Picture)
   3.png
 * (might have to copy/paste entire link into address…not too sure what is up with
   this thang)!
 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/error-message-43/#post-1259572)
 * If you have WP installed in your domain root, what happens when you go here
 * [http://www.victoriacentrefornaturalhealth.com/wp-admin/](http://www.victoriacentrefornaturalhealth.com/wp-admin/)
 * That is the admin URL once the installation is complete.
 *  Thread Starter [fordage](https://wordpress.org/support/users/fordage/)
 * (@fordage)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/error-message-43/#post-1259750)
 * Thank-you so much for your help.
    Your leads got me to my final answer…
 * This area was incorrect, and I am shameful to say that it was very simple and
   silly mistake.
    My unsername was wrong.
 * I felt like this area of all help blogs were so vague. I cannot believe I spent
   almost a full day ‘testing’ different passwords, etc into this script!
 * Fordage.
 * ————–
 * // ** MySQL settings – You can get this info from your web host ** //
    /** The
   name of the database for WordPress */ define(‘DB_NAME’, ‘vcnh’);
 * /** MySQL database username */
    define(‘DB_USER’, ‘vcnh’);
 * /** MySQL database password */
    define(‘DB_PASSWORD’, ‘xxxx’);
 * /** MySQL hostname */
    define(‘DB_HOST’, ‘vcnh.db.5131049.hostedresource.com’);
 * /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’,‘
   utf8’);
 * /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’,”);
 * ——————————-
 * Thanks again for your time stvwlf!!!

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

The topic ‘Error message’ is closed to new replies.

## Tags

 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 2 participants
 * Last reply from: [fordage](https://wordpress.org/support/users/fordage/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/error-message-43/#post-1259750)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
