Have you tried to use mysqladmin?
mysqladmin -uroot password your_password -h localhost
If you are using Windows browse to the directory which contains the tool and add the extension .exe to mysqladmin command, it should be something like cd \Program Files\MySQL\MySQL server5.0\bin and then:
mysqladmin.exe -uroot password your_password -h localhost
With this command you set the root password and then, finally, you can log into the database server:
mysql -uroot -pyour_password
More info:
bye!
cereal
Veteran Poster
1,146 posts since Aug 2007
Reputation Points: 344
Solved Threads: 223
Skill Endorsements: 22