- can access my sql without using password but cannot access with password
- CREATE USER 'new-username'@'localhost' IDENTIFIED BY 'new-password';
- GRANT ALL ON *.* TO 'new-username'@'localhost' WITH GRANT OPTION;
- mysql -u new-username
- mysql -u new-username -p
- ERROR 1045 (28000): Access denied for user 'new-username'@'localhost' (using password: YES)