Guest User

Untitled

a guest
Mar 9th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. mysql -u root -p
  2.  
  3. mysql "ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded"
  4.  
  5. sudo su
  6.  
  7. /etc/init.d/mysql stop
  8. mysqld_safe --skip-grant-tables &
  9. mysql -uroot
  10.  
  11. use mysql;
  12.  
  13. update user set password=PASSWORD("mynewpassword") where User='root';
  14.  
  15. update user set plugin="mysql_native_password";
  16.  
  17. quit;
  18.  
  19. /etc/init.d/mysql stop
  20. kill -9 $(pgrep mysql)
  21. /etc/init.d/mysql start
  22.  
  23. mysql -u root -p
  24.  
  25. /etc/init.d/mysql stop
  26. sudo killall mysqld_safe
  27. sudo killall mysqld
  28. sudo mysqld_safe --skip-grant-tables &
  29. mysql -u root
  30. use mysql;
  31. update user set password=PASSWORD("mynewpassword") where User='root';
  32. update user set plugin="mysql_native_password";
  33. quit;
  34. /etc/init.d/mysql stop
  35. sudo kill -9 $(pgrep mysql)
  36. /etc/init.d/mysql start
Add Comment
Please, Sign In to add comment