access denied for user "@'localhost for database 'db_name'

3.3k views Asked by At

I installed MySQL with package installer on Mac OS x, then I ran query browser and connected to database with username = "" and password = "". Now, I want to create a new schema, when a type create schema rest, it shows an error like access denied for user "@'localhost' to database 'rest'

how can i fix this?

1

There are 1 answers

0
Dan On

Try logging in with username "root" and password "".