Reset Forgotten MySQL Root Password
Reset Forgotten MySQL Root PasswordHave you ever forgotten the root password on one of your MySQL servers? No? Well maybe I’m not as perfect as you. This is a quick h00tow (how to) reset your MySQL root password. It does require root access on your server. If you have forgotten that password wait for another article. Original article posted on reset mysql root password. First things first. Log in as root and stop the mysql daemon. Now lets start up the mysql daemon and skip the grant tables which store the passwords. mysqld_safe --skip-grant-tables You should see mysqld start up successfully. If not, well you have bigger issues. Now you should be able to connect to mysql without a password. mysql --user=root mysql update user set Password=PASSWORD('new-password') where user='root'; Now kill your running mysqld, then restart it normally. You should be good to go. Try not to forget your password again.
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning







Recent comments
12 hours 44 min ago
14 hours 45 min ago
17 hours 57 min ago
20 hours 16 min ago
21 hours 26 min ago
22 hours 44 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 21 hours ago