Reply
Old November 25th, 2007 Top | #1
 
Heeter's Avatar
Overclocked Like A Mother
Joined: July 2002
Location: In front of my computer
Posts: 2,729
Reputation: 684
Power: 150

Default Need MySQL help with root password

Hey all,

First off, I am using MySQL 4.1.2. It has been running absolutely flawlessly for the last three years or so.

Throughout all this time, my phpmyadmin has always complained that my root password has never been set.

So I decided to look up how to set the password last night, and on MySQl help pages, I found a step by step guide on how to setup/reset the password for root.

Well much to my dismay, it didn't work, now my mysql service cannot restart.

I am wondering if anyone knows what to do to get me out of this jam?


Thanks,


Heeter
Heeter is offline   Reply With Quote
Old November 25th, 2007 Top | #2
 
Dark Atheist's Avatar
I never said I was nice
Joined: April 2003
Location: In The Void
Posts: 6,346
Blog Entries: 8
Reputation: 1877
Power: 0

Default Re: Need MySQL help with root password

http://dev.mysql.com/doc/refman/4.1/...rmissions.html
http://dev.mysql.com/doc/refman/5.0/...rmissions.html
Dark Atheist is offline   Reply With Quote
Old November 25th, 2007 Top | #3
 
Heeter's Avatar
Overclocked Like A Mother
Joined: July 2002
Location: In front of my computer
Posts: 2,729
Reputation: 684
Power: 150

Default Re: Need MySQL help with root password

That was exactly the howto's that I was using. Who knew.

I managed to get sqlyog free edition to run, and I went into the mysql default db, and remove the offending entries. Everything is restarted now upon Server reboot, but Apache is giving me errors. Looks like everything is running and phpmyadmin is back to bitching that I don't have a root password. All is good again.

This will remind me of something: If it broke, don't fix it.

This came close to ruining my webserver, as all my client invoicing, and my database creation php's is done through Mysql.


Thanks for the help Carpo.


Heeter
Heeter is offline   Reply With Quote
Old November 25th, 2007 Top | #4
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,490
Reputation: 2808
Power: 217

Default Re: Need MySQL help with root password

So where is this website hosted? :P

Having no root password set for MySQL is like asking people not to just walk into a house with the front door removed. You need to set a password for root, and make it fast. Otherwise all your clients information could be out on the "street" tomorrow or whenever an attacker finds out about this.
X-Istence is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
OWA Root Certificate issues Punkrulz Windows Desktop Systems 3 February 19th, 2007 8:49pm
Ubuntu: root password not set??? Glaanieboy Linux & BSD 17 January 12th, 2005 6:04pm
How do I find the root of a drive? quechubin General Hardware 6 October 30th, 2003 1:13am
Console Root Bman Windows Desktop Systems 2 March 15th, 2003 9:40pm
Finding root folder Captmatrix Windows Desktop Systems 1 March 12th, 2003 6:34pm