|
April 28th, 2010 |
I ran into a case earlier today where I was setting up a LAMP (Linux, Apache, MySQL, PHP) Server whcih already had most of these components pre-installed. However, no one was really sure what the MySQL Root User password was - and there clearly was one, as attempts to connect without it failed.
The obvious answer was to reset the Root user password - the method of doing so was less obvious.
First, you need to stop the running mysqld daemon. First try:
# /etc/init.d/mysqld stop
If that doesn't work for any reason, try this sequence:
Read the rest of this entry »