Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/local/webserver/mysql/bin/mysqld_safe --skip-grant-tables
- update user set password=password("your-new-password") where user="root";
- GRANT ALL PRIVILEGES ON dbname.* TO dbuser@localhost IDENTIFIED BY "dbpassword";
- FLUSH PRIVILEGES;
- set global interactive_timeout=600;set global wait_timeout=600;
Add Comment
Please, Sign In to add comment