1,760
edits
Changes
→Start up MySQL Server for the first time
[ OK ]
Starting mysqld: [ OK ]
= Reset MySQL server's root password =
As you can see from the previous section, MySQL server default setup does not has password for the root user. You can connect to MySQL server as root on the local machine without providing password. However, if your have set the password for root and later forget the password, the following show you the steps to reset the root password on a Fedora system (tested on Fedora 13):
== Stop the MySQL Server ==
# service mysqld stop
== Restart the MySQL server with --skip-grant-tables ==
== Reset root password ==
== Restart MySQL server normally ==