Forums

Database Error Trying to do admin/install (3 posts)

  1. bmedlin
    Member
    Posted 3 years ago #

    I've tried everything multiple times. GoDaddy says it's not them but here is the error when I try to pull up wp-admin/install.php

    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.

    Here is what I placed in the wp-config.php file and uploaded it along with all the other files (I have a fully functioning site I setup this same way but can not seem to figure out what is wrong with the second one:
    define('DB_NAME', 'anarchistsguide');
    define('DB_USER', 'anarchistsguide@72.167.233.37');
    My password is correct because I am logged into the SQL database:
    anarchistsguide.db.4082093.hostedresource.com
    Server version: 5.0.67.d7-ourdelta-log
    Server: anarchistsguide.db.4082093.hostedresource.com (72.167.233.96 via TCP/IP)
    User: anarchistsguide@72.167.233.37

    What could I be missing?

    Thanks in advance for your help.
    Barbara

  2. figaro
    Member
    Posted 3 years ago #

    That db user doesn't look right...the user is probably the same as the db name if I remember correctly from the last time I worked on a Godaddy site.
    This: anarchistsguide.db.4082093.hostedresource.com looks like your db connect information.

    This may help as well.

    http://educhalk.org/blog/?p=148

  3. Samuel B
    moderator
    Posted 3 years ago #

    SQL database

    I hope that bit is wrong. :>)

    If you are on a windows server you will need to switch to linux. If you are on a linux - absolutely none of the database stuff looks like godaddy's mysql norms and I've done literally 100's of installs there.

Topic Closed

This topic has been closed to new replies.

About this Topic