I couldn't find this easily by Googling, so I thought I'd leave this as a note to myself.  
This also applied to setting up a connection on Drupal 7 .  
What I needed was  Username 'root' and password 'root' .  I'd been using 'password' which had worked with something else I'd been working on recently . 
So here's what worked. 
Name: Mysite
Host: 127.0.0.1
Username: root
Password: root
Port: 8889

And in Drupal 7 ->
<?php
$databases['default']['default'] = array(
    'database' => 'mysite',
    'username' => 'root',
    'password' => 'root',
    'host' => 'localhost',
    'port' => '3306',
    'driver' => 'mysql',
    'prefix' => '',
);
No comments:
Post a Comment