Skip to content

Instantly share code, notes, and snippets.

@mcshakes
Last active August 7, 2022 17:43
Show Gist options
  • Save mcshakes/b32a7e60a6969d6e3ee2472b71dc669e to your computer and use it in GitHub Desktop.
Save mcshakes/b32a7e60a6969d6e3ee2472b71dc669e to your computer and use it in GitHub Desktop.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

To set to null password for local development

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment