Reset MySQL root password
- Read more about Reset MySQL root password
- 1 comment
- Log in to post comments
Reference: http://www.cyberciti.biz/tips/recover-mysql-root-password.html (partly copied to avoid loosing source)
# /etc/init.d/mysql stop
Stopping MySQL database server: mysqld.
# mysqld_safe --skip-grant-tables &
[1] 5988 Starting mysqld daemon with databases from /var/lib/mysql mysqld_safe[6025]: started# mysql -u root
Welcome to the MySQL monitor.