Simple Install Error - can't find it!! (5 posts)

  1. CharlesSuggs
    Posted 11 years ago #

    OK - I am trying to run the install script and all that I can do is get the "Error establishing a database connection" message.

    I am running:
    MacOSX 10.3.8
    MySQL 4.1.9
    phpMyAdmin 2.6.1
    PHP 3.4.10

    I use phpMyAdmin to create a new database "wordpress" then to add a new user "charlessuggs" on "localhost" with the password "password"

    edit wp-config.php with text edit and save it

    // ** MySQL settings ** //
    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', 'charlessuggs'); // Your MySQL username
    define('DB_PASSWORD', 'password'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    change the priviliges for wordpress to all and ta daa!

    I get the "can't connect to database" error.

  2. oriecat
    Posted 11 years ago #

    Does your host add a prefix to the front of the db and user? That's what mine does. So I set up a database of wordpress, but then it's actual name would be moltenwo_wordpress.

  3. CharlesSuggs
    Posted 11 years ago #

    I'm my own host.

  4. DavidDeCristoforo
    Posted 11 years ago #

    Just went through this. Try installing MySQL v4.0. That did the trick for me. With all of the other MySQL versions, I got the database error.


  5. CharlesSuggs
    Posted 11 years ago #

    Problem fixed, even updating to php 5 didn't solve it but the two lines of code in this post did.


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.