Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ /etc/init.d/mysql stop
- $ mysqld_safe --skip-grant-tables &
- /* go to "Change Users and Password */
- or,
- $ mysql -u root
- mysql> use mysql;
- mysql> update user set password=PASSWORD("123abc") where User='root';
- mysql> flush privileges;
- mysql> quit
- $ /etc/init.d/mysql stop
- $ /etc/init.d/mysql start
Advertisement
Add Comment
Please, Sign In to add comment