Advertisement
Templario_7777

Reseteo de Pass Mysql con root user

Sep 7th, 2023
1,733
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.21 KB | None | 0 0
  1. mysql
  2. SELECT user,authentication_string FROM mysql.user;
  3. ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_pass_here';
  4. FLUSH PRIVILEGES;
  5. SELECT user,authentication_string FROM mysql.user;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement