Support » Installing WordPress » localhost and DB

  • Hi,

    I am trying to install wordpress locally on my macbook. I have installed MAMP for the Apache, My SQl, PHP and it seems to be working fine as I was able to view the WP readme file locally. When I try to run the install.php from the readme page, I get “Error establishing a database connection” message.

    here are the settings I used in wp-config

    define(‘DB_NAME’, ‘adavis’); // The name of the database
    define(‘DB_USER’, ‘root@localhost’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘xxxxxx’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    not sure what I am missing here??

    Thanks,

    AD

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘localhost and DB’ is closed to new replies.