1. Initialize your root password:
not in skip-grant-tables mode
# in terminal
$ sudo mysql
# in mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'your_password';
FLUSH PRIVILEGES;
exit
1. Initialize your root password:
not in skip-grant-tables mode
# in terminal
$ sudo mysql
# in mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'your_password';
FLUSH PRIVILEGES;
exit