Answers for "mysql can't login as root"

SQL
0

mysql failed to login as root@localhost

UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE user = 'root' AND plugin = 'unix_socket';
FLUSH PRIVILEGES;
Posted by: Guest on December-01-2020
0

how to login to mysql as normal user in ubuntu

CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';

GRANT ALL PRIVILEGES ON database_name.* TO 'newuser'@'localhost';
Posted by: Guest on August-23-2020
0

how to login to mysql as normal user in ubuntu

mysql -u newuser -p
Posted by: Guest on August-23-2020

Code answers related to "mysql can't login as root"

Code answers related to "SQL"

Browse Popular Code Answers by Language