Created
October 16, 2023 06:52
-
-
Save betulsimsek/5f1c6301c995b42f6c93b2fef0e0c1c6 to your computer and use it in GitHub Desktop.
ERROR 1045 (28000): Access denied for user ''@'localhost' (using password: NO) on mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I used above solution for me. It works. I hope it works for you too. | |
same with (using password: YES) | |
brew remove mysql | |
brew cleanup | |
sudo rm /usr/local/mysql | |
sudo rm -rf /usr/local/var/mysql | |
sudo rm -rf /usr/local/mysql* | |
sudo rm -rf /Library/StartupItems/MySQLCOM | |
rm -rf /opt/homebrew/var/mysql | |
After uninstall all mysql data in mac, then I installed from https://dev.mysql.com/downloads/mysql/. | |
After installation steps I configure a password for mysql server. Than I run terminal: | |
mysql -u root -p | |
I entered password and it worked. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment