update mysql.global_priv set priv=json_insert(priv, '$.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.global_priv set priv=json_remove(priv, '$.plugin'); flush privileges; uninstall plugin unix_socket;