Search code examples
mysqlsequelpro

MySQL said: Access denied for user 'root'@'localhost' (using password: NO)"


I am trying to create a database with Sequel Pro and it keeps coming up with an error "Unable to connect to host because access was denied.

Double-check your username and password and ensure that access from your current location is permitted.

MySQL said: Access denied for user 'root'@'localhost' (using password: NO)"

I have mySQL server running on my Mac. Not sure what I am doing wrong. Any help would be appreciated.


Solution

  • Newer versions of MySQL use a temporary password after setup, and you can use mysqladmin to set it to something permanent.

    mysqladmin -u root -p password