Skip to content

Instantly share code, notes, and snippets.

@comodinx
comodinx / git-cherry-pick.md
Created September 19, 2022 14:47
GIT Cherry-Pick
View git-cherry-pick.md
@comodinx
comodinx / fixed-when-the-root-user-disappears-on-MySQL.md
Last active November 30, 2021 13:40
Fixed when the root user disappears on MySQL.
View fixed-when-the-root-user-disappears-on-MySQL.md

Fixed when the root user disappears.

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

  1. Stop MySQL service (in my case, is installed with brew)

    brew services stop mysql
  2. Start MySQL safe