Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

change authentication plugin from auth_sock to mysql_native_password for a specific user

mysql> UPDATE mysql.user SET plugin = 'mysql_native_password', authentication_string = PASSWORD('changeme') WHERE User = 'root';

mysql> FLUSH PRIVILEGES;
Source by blog.ndk.name #
 
PREVIOUS NEXT
Tagged: #change #authentication #plugin #specific #user
ADD COMMENT
Topic
Name
4+2 =