Support » Installation » database host name

database host name

  • Accoring to my config file, my database host name is “mysql”. Yahoo help says the same. When I try to install I get a long list of connection errors using “username@localhost”. I must be missing something somewhere. Any suggestions?


Viewing 7 replies - 1 through 7 (of 7 total)
  • Your config file only knows what you put in…you will need to contact your host to see what the hostname is…often, it’s localhost, but several hosts use a different name/ip.

    Thanks for responding. According to yahoo, the host name is always “mysql”. WP is connecting to the host but is denied access to the database.

    error message:

    “WordPress database error: [Access denied for user ‘griehund’@’localhost’ to database ‘mysql’]
    CREATE TABLE wp_terms ( term_id bigint(20) NOT NULL auto_increment, name varchar(200) NOT NULL default ”, slug varchar(200) NOT NULL default ”, term_group bigint(10) NOT NULL default 0, PRIMARY KEY (term_id), UNIQUE KEY slug (slug), KEY name (name) ) DEFAULT CHARACTER SET utf8″

    PHPmyAdmin has user: griehund@localhost. Can’t find where to edit user name. WP.com connects and functions but WP.org does not.

    Moderator Samuel Wood (Otto)


    WordPress.org Tech Dude

    Try a username of “griehund” only. Leave the hostname as mysql.

    Thanks for the help.
    This gives me some hope and some steps to work on. Since I am a Mac user and use FireFox and Safari, I’m a little concerned about the IE limitaton. I will let you know how this shakes out.



    Installation is a success. Followed the codex notes and also upgraded to 2.8. Next step is themes.



Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘database host name’ is closed to new replies.