Skip to content

Instantly share code, notes, and snippets.

@leylaKapi
Created February 27, 2017 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leylaKapi/f531401f2327fc33eea3271ad6d61d44 to your computer and use it in GitHub Desktop.
Save leylaKapi/f531401f2327fc33eea3271ad6d61d44 to your computer and use it in GitHub Desktop.
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'db'
mysql -u root -p
// No, you should run mysql -u root -p in bash, not at the MySQL command-line. If you are in mysql, you can exit by typing exit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment