Zainstalowałem mysql na macu ale mam problem z konfiguracja hasła. Próbuje się zalogować aby zmienić hasło ale nie mogę. Pierw podałem hasło z komputera ale kolejnego nie znam
For more details, please visit https://support.apple.com/kb/HT208050.
Piotrs-MBP:~ piotr$ mysql -u root mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Piotrs-MBP:~ piotr$ mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Piotrs-MBP:~ piotr$ cd /usr/local/mysql
Piotrs-MBP:mysql piotr$ ls
LICENSE data keyring share
README docs lib support-files
bin include man
Piotrs-MBP:mysql piotr$ sudo bin/mysql_secure_installation
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
Securing the MySQL server deployment.
Enter password for user root:
Error: Access denied for user 'root'@'localhost' (using password: YES)
Piotrs-MBP:mysql piotr$