问题
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.
回答1:
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
来源:https://stackoverflow.com/questions/48812947/mysql-said-access-denied-for-user-rootlocalhost-using-password-no