WordPress.org

Ready to get started?Download WordPress

Forums

database connection error (5 posts)

  1. merideth
    Member
    Posted 9 years ago #

    I'm at a loss. All of the settings are correct. No extra spaces, no deleted single quotes.

    The troubleshooting section of the install says to "Go to your MySQL client and type SET PASSWORD FOR 'my_user'@'my_host' = OLD_PASSWORD('my_pass'); and this may fix the problem." but there's no field in which to set password.

    Also, should the db have any tables?

    All help appreciated!

  2. NuclearMoose
    Member
    Posted 9 years ago #

    I assume that you are trying to install, is that correct? If you have been unable to connect to your database on installation, then there will not be any tables. WordPress must get connected first and then it will populate the database with the necessary tables.

  3. merideth
    Member
    Posted 9 years ago #

    yes trying to install...

    so then any ideas why i'm getting a db connection error when all the settings (db name, user name, and password) are all correct?

    thanks in advance!

  4. NuclearMoose
    Member
    Posted 9 years ago #

    Hmmm...is the DB_USER a member of the database with full privileges granted?

    Are you on a hosted server? Did you include the database prefix, if applicable? For example, my database is called "wp", but my host required that I have "hostname_wp" prepended to the database name AND the database user name.

  5. moshu
    Member
    Posted 9 years ago #

    (db name, user name, and password) are all correct
    Localhost? You might be in the 1% that needs to change that to the actual server name/uri

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.