• Ive installed wordpress several times before

    not sure why im having trouble this time

    its hosted on godaddy?

    ive been on tech support with them and the host name and password are correct?

    thanks in advance

    //

    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?

    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter je0ff

    (@je0ff)

    I am able to login to godaddies phpMyAdmin just not with wordpress?

    When you created your database, you would of used new Db name not the same login info you use on Godaddy

    Thread Starter je0ff

    (@je0ff)

    yes, I have a created 2 databases with username, database name & passwords. None work.

    I called tech support today at godaddy and walked threw resetting passwords and still nothing

    so im here.

    I have other wordpress sites that I maintain. Im not completely unfamiliar with this process.

    not sure if i am missing something? should i chmod…

    any ideas?

    ty

    Moderator James Huff

    (@macmanx)

    The error is correct 99.99% of the time. Usually, either the DB_HOST is incorrect or the database server is offline. Have you confirmed either of these with your hosting provider?

    Im having the same prob and im with godaddy too. and ive done this install before myself.

    Thread Starter je0ff

    (@je0ff)

    Yeah, Ive confirmed

    i think i will just reinstall

    =)

    Howdy,

    Looking at the error in your first post, I see where the problem is:

    Host name on Go Daddy database is NEVER localhost ??

    From the Hosting Control Panel select Database > MySQL to get to your database listing. Then, click the pencil icon in the Action column for the database in question. You will now be on the database details page for that database … see the Host Name ? ?? … copy that complete value and use that for the Host Name in your WP install/config. Of course, the user name and database name are ALWAYS the same on GD databases (and CASE SENSITIVE!!!) and the password is what YOU entered ??

    Cheers!
    Lyle

    Thanks Lyle, Godaddy said to me that they wont help me at all because its 3rd party software which seems odd because they offer wordpress as an auto install.
    my last site ive checked the host name and its local host but i will try again, cheers.

    Thanks Lyle, you were right, i checked in the file manager online for my other wordpress site and yes the host name wasn’t local host, so i must have changed it online and not in my files. so i put in the godaddy host name and voila its installed.

    Thread Starter je0ff

    (@je0ff)

    when i add it like that it gives me this

    Warning: main(/home/content/s/u/p/xxxxx/html/wp-includes/pomo/mo.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/u/p/xxxxx/html/wp-settings.php on line 342

    Warning: main() [function.include]: Failed opening ‘/home/content/s/u/p/xxxxx/html/wp-includes/pomo/mo.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/content/s/u/p/xxxxx/html/wp-settings.php on line 342

    Fatal error: Cannot instantiate non-existent class: noop_translations in /home/content/s/u/p/xxxxx/html/wp-includes/l10n.php on line 437

    Thread Starter je0ff

    (@je0ff)

    it gives me that @

    wp-admin/install.php

    @je0ff

    Then you have something else haywire ?? Sounds as though you have some missing/corrupted files. How did you do the install? File by file with FTP, “one-click” install from the host? Upload the ZIP and extract on the server?

    @katestrong

    Good to hear you got it going ?? A lot of folks don’t realize the database settings on GD. Also, GD is correct in that they don’t offer WP support, even though they have it as a TOTALLY OPTIONAL install ??

    Thread Starter je0ff

    (@je0ff)

    i downloaded zip file and extracted it on my pc

    uploaded it via dreamweaver

    as I type I’m am reinstalling

    never had this problem before

    thanks

    Thread Starter je0ff

    (@je0ff)

    it worked

    thanx

    Guys, ran across a fix that I haven’t seen posted anywhere else and might be the root cause if none of the things mentioned above have worked for you.

    Make sure your hosting account wasn’t originally set up for php4, it’s possible your hosting provider may have upgraded to php5 (and didn’t tell you or you missed it)

    Saw this twice recently and having the host change the account to utilize PHP5 fixed it.

    More here https://www.vsellis.com/wordpress-how-to/fix-error-establishing-a-database-connection-with-wordpress/

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.