Setting Up Root User mysql


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. mysql> UPDATE mysql.user SET Password = PASSWORD('foo.bar') WHERE User - 'root';
  2.  
  3.  
  4. mysql> FLUSH PRIVILEGES;
  5. mysql> exit
  6.  

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.