Title: config.php
Last modified: August 19, 2016

---

# config.php

 *  [mackenzie33](https://wordpress.org/support/users/mackenzie33/)
 * (@mackenzie33)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/configphp-2/)
 * I’m not sure which version, the readme txt says version 2. 2001
 * I’m an advanced user and I can’t get WP to install. I’m using a GoDaddy mySql
   running mySql v 4.1, apache
 * I have gone over the config.php several times and when I call up the install 
   program I get this:
 * Error establishing a database connection
 * So, it’s GoDaddy, or my config.php file is wrong. Can you guys take a look at
   my config.php and see if you can spot something I missed?
 * Thanks.
 * ====================
 * <?php
    /** * The base configurations of the WordPress. * * This file has the 
   following configurations: MySQL settings, Table Prefix, * Secret Keys, WordPress
   Language, and ABSPATH. You can find more information by * visiting {@link [http://codex.wordpress.org/Editing_wp-config.php](http://codex.wordpress.org/Editing_wp-config.php)
   Editing * wp-config.php} Codex page. You can get the MySQL settings from your
   web host. * * This file is used by the wp-config.php creation script during the*
   installation. You don’t have to use the web site, you can just copy this file*
   to “wp-config.php” and fill in the values. * * [@package](https://wordpress.org/support/users/package/)
   WordPress */
 * // ** MySQL settings – You can get this info from your web host ** //
    /** The
   name of the database for WordPress */ define(‘DB_NAME’, ‘barbara33’);
 * /** MySQL database username */
    define(‘DB_USER’, ‘barbara33’);
 * /** MySQL database password */
    define(‘DB_PASSWORD’, ‘————-‘);
 * /** 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’,”);
 * /**#@+
    * Authentication Unique Keys. * * Change these to different unique phrases!*
   You can generate these using the {@link [https://api.wordpress.org/secret-key/1.1/](https://api.wordpress.org/secret-key/1.1/)
   WordPress.org secret-key service} * * [@since](https://wordpress.org/support/users/since/)
   2.6.0 */ define(‘AUTH_KEY’, ‘vLGxk%HxQc2*n*vQI%5*9RXB$’); define(‘SECURE_AUTH_KEY’,‘
   d9GJKo@GRhrerw4Ld4*zKQ^u%’); define(‘LOGGED_IN_KEY’, ‘9$A0R9nkDq$0I7#PcW0awyBXn’);
   define(‘NONCE_KEY’, ‘Mzfq7gyfjy4%VlM&p2Kcdovm9’); /**#@-*/
 * /**
    * WordPress Database Table prefix. * * You can have multiple installations
   in one database if you give each a unique * prefix. Only numbers, letters, and
   underscores please! */ $table_prefix = ‘wp_’;
 * /**
    * WordPress Localized Language, defaults to English. * * Change this to 
   localize WordPress. A corresponding MO file for the chosen * language must be
   installed to wp-content/languages. For example, install * de.mo to wp-content/
   languages and set WPLANG to ‘de’ to enable German * language support. */ define(‘
   WPLANG’, ”);
 * /* That’s all, stop editing! Happy blogging. */
 * /** WordPress absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’))
   define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
 * /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-
   settings.php’); ?>

Viewing 1 replies (of 1 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/configphp-2/#post-1032586)
 * > localhost
 * godaddy doesn’t use localhost to connect to the database but something similar
   to
    `p50mysql.secureserver.net` or `mysql33.secureserver.net` look in the db 
   manager for the exact connection

Viewing 1 replies (of 1 total)

The topic ‘config.php’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/configphp-2/#post-1032586)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
