Support » Installing WordPress » Yet another mySQL problem

  • Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
    Are you sure you have the correct user/password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    PHP version 4.3.9
    MySQL version 4.0.22-standard
    My site is hosted on a great free host, shyper.
    Wordpress install dir:
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘bloovesn_blog’); // The name of the database
    define(‘DB_USER’, ‘bloovesn_’); // Your MySQL username
    define(‘DB_PASSWORD’, ********’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    The info is correct. Info provided by my host:
    Connection Strings
    Perl $dbh = DBI->connect(“DBI:mysql:bloovesn_blog:localhost”,”bloovesn_”,”<PASSWORD HERE>”);
    PHP $dbh=mysql_connect (“localhost”, “bloovesn_”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());
    mysql_select_db (“bloovesn_blog”);
    What am I doing wrong?
    I am currently using CuteNews but it doesn’t have much features…
    Therefore, I’m upgrading to WordPress
    Help would be appreciated! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mark (podz)


    Support Maven

    define(‘DB_PASSWORD’, ********’);
    Is that a typo ? It should be
    define(‘DB_PASSWORD’, ‘********’);

    Another thing to try is to set the ‘DB_USER’ to ‘bloovesn’ without the underscore. I know it says so in the connection string provided by your hoster — as it does in mine. But I’ve always used my username without the underscore and only recently realized that there should be one.

    I was also wondering about the username. In my case I have to have something AFTER the “bloovesn_” part, like “bloovesn_something“.

    Thanks for your help! 🙂 The ‘** was a typo. I rwemoved the underscore from my username and it worked.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Yet another mySQL problem’ is closed to new replies.