Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql failed to login as root@localhost

UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE user = 'root' AND plugin = 'unix_socket';
FLUSH PRIVILEGES;
 
PREVIOUS NEXT
Tagged: #mysql #failed #login
ADD COMMENT
Topic
Name
7+7 =