update mysql.user set plugin='unix_socket'; flush privileges; Warnings: Warning 1524 Plugin 'unix_socket' is not loaded Warning 1524 Plugin 'unix_socket' is not loaded Warning 1524 Plugin 'unix_socket' is not loaded Warning 1524 Plugin 'unix_socket' is not loaded connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET); ERROR 28000: Access denied for user 'USER'@'localhost' (using password: NO) ERROR 28000: Access denied for user 'USER'@'localhost' (using password: NO) install plugin unix_socket soname 'auth_socket.so'; flush privileges; connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET); ERROR 28000: Access denied for user 'USER'@'localhost' ERROR 28000: Access denied for user 'USER'@'localhost' update mysql.user set plugin=''; flush privileges; uninstall plugin unix_socket;