Title: Godaddy SQL problem
Last modified: August 18, 2016

---

# Godaddy SQL problem

 *  [nickeaston](https://wordpress.org/support/users/nickeaston/)
 * (@nickeaston)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/)
 * My domain is hosted by Godaddy; SQL appears to be managed by a third party called
   Starfield Technologies and there is no choice for the created database–it’s the
   same as the username. The only choices are new table name and number of fields.
 * The error message is: 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.
 * Here are the customized script lines:
    <?php // ** MySQL settings ** // define(‘
   DB_NAME’, ‘neaston’); // The name of the database define(‘DB_USER’, ‘neaston’);//
   Your MySQL username define(‘DB_PASSWORD’, ‘********’); // …and password define(‘
   DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

Viewing 15 replies - 16 through 30 (of 44 total)

[←](https://wordpress.org/support/topic/godaddy-sql-problem/?output_format=md) [1](https://wordpress.org/support/topic/godaddy-sql-problem/?output_format=md)
2 [3](https://wordpress.org/support/topic/godaddy-sql-problem/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/godaddy-sql-problem/page/3/?output_format=md)

 *  [plbeane94](https://wordpress.org/support/users/plbeane94/)
 * (@plbeane94)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175005)
 * I don’t get where this file is located:
 * /home/content/p/b/e/pbeane/html/wordpress/wp-login.php
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175012)
 * The file with the error will be ‘wp-config.php’
    You should be able to see that
   in your file manager.
 *  [plbeane94](https://wordpress.org/support/users/plbeane94/)
 * (@plbeane94)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175041)
 * I thought the file with the error was wp-login… but I don’t know 100% if it is
   and I don’t want to mess my wordpress files up.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175044)
 * I’m 99.9999999999999% certain it’s wp-config.php.
    After all, at this stage it
   is the only file you have edited ?
 *  [plbeane94](https://wordpress.org/support/users/plbeane94/)
 * (@plbeane94)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175046)
 * Ok, thanks!
 *  [plbeane94](https://wordpress.org/support/users/plbeane94/)
 * (@plbeane94)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175047)
 * Isn’t this right?
 * <?php
    // ** MySQL settings ** // define(‘DB_NAME’, ‘plbeane94’); // The name
   of the database define(‘DB_USER’, ‘plbeane94’); // Your MySQL username define(‘
   DB_PASSWORD’, ‘******’); // …and password define(‘DB_HOST’, ‘mysql33.secureserver.
   net’); // 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 = ‘wp_’; // 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 */
 * define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.
   php’); ?>
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175050)
 * That is probably very correct, but please re-read the link I posted above.
    After
   that last ?> there is probably a space or two, and PHP being as picky as it is,
   it just won’t play ball until they are gone 🙂
 *  [plbeane94](https://wordpress.org/support/users/plbeane94/)
 * (@plbeane94)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175051)
 * Nope, I checked, no spaces.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175054)
 * Did you just look ?
 * Did you definitely do those stpes in the link above ? It is really important 
   that you do.
    Please paste the first 15 lines of your error message _after_ doing
   the numbered list.
 *  [greenredbrownell](https://wordpress.org/support/users/greenredbrownell/)
 * (@greenredbrownell)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175060)
 * [Moderated]
 * NickEaston, if you haven’t given up, WordPress *can* indeed be made to work on
   GoDaddy. You have configuration issues. If you come back, we will help you with
   them….
 * — Green
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175062)
 * I have installed several times onto GoDaddy’s servers, both windows and linux.
   I have not experienced any problems at all in doing so, and I actually find their
   control panel for database creation more friendly than those hosts that use cpanel.
 *  [greenredbrownell](https://wordpress.org/support/users/greenredbrownell/)
 * (@greenredbrownell)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175068)
 * Podz, you are tireless. I commend you heartily. Thanks for keepin’ it friendly.
   😉
 *  [plbeane94](https://wordpress.org/support/users/plbeane94/)
 * (@plbeane94)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175070)
 * thats the first 15 of the error
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/p/b/e/pbeane/html/wordpress/wp-config.php:23) in /home/content/
   p/b/e/pbeane/html/wordpress/wp-login.php on line 7
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/p/b/e/pbeane/html/wordpress/wp-config.php:23) in /home/content/
   p/b/e/pbeane/html/wordpress/wp-login.php on line 8
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/p/b/e/pbeane/html/wordpress/wp-config.php:23) in /home/content/
   p/b/e/pbeane/html/wordpress/wp-login.php on line 9
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/p/b/e/pbeane/html/wordpress/wp-config.php:23) in /home/content/
   p/b/e/pbeane/html/wordpress/wp-login.php on line 10
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/p/b/e/pbeane/html/wordpress/wp-config.php:23) in /home/content/
   p/b/e/pbeane/html/wordpress/wp-includes/functions.php on line 1767
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175071)
 * Check wp-config.php, line 23.
 * [http://codex.wordpress.org/Answers-Trouble_Shooting#Headers_already_sent](http://codex.wordpress.org/Answers-Trouble_Shooting#Headers_already_sent)
 *  [plbeane94](https://wordpress.org/support/users/plbeane94/)
 * (@plbeane94)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/2/#post-175072)
 * nvm this was wrong!

Viewing 15 replies - 16 through 30 (of 44 total)

[←](https://wordpress.org/support/topic/godaddy-sql-problem/?output_format=md) [1](https://wordpress.org/support/topic/godaddy-sql-problem/?output_format=md)
2 [3](https://wordpress.org/support/topic/godaddy-sql-problem/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/godaddy-sql-problem/page/3/?output_format=md)

The topic ‘Godaddy SQL problem’ is closed to new replies.

## Tags

 * [godaddy](https://wordpress.org/support/topic-tag/godaddy/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 44 replies
 * 16 participants
 * Last reply from: [rlpcomoe](https://wordpress.org/support/users/rlpcomoe/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/godaddy-sql-problem/page/3/#post-175492)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
