sudo mysql -u root
and if you get error - like below
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
then use mysql -u root -p
mysql> use mysql;
mysql> flush privileges;
mysql> exit;
sudo mysql -u root
and if you get error - like below
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
then use mysql -u root -p
mysql> use mysql;
0 Comments
Post a Comment