Guest User

Untitled

a guest
Mar 23rd, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. /usr/local/webserver/mysql/bin/mysqld_safe --skip-grant-tables
  2.  
  3. update user set password=password("your-new-password") where user="root";
  4.  
  5. GRANT ALL PRIVILEGES ON dbname.* TO dbuser@localhost IDENTIFIED BY "dbpassword";
  6.  
  7. FLUSH PRIVILEGES;
  8.  
  9.  
  10. set global interactive_timeout=600;set global wait_timeout=600;
Add Comment
Please, Sign In to add comment