I'm using Mandrake 7.2, MySQL 3.23.23.
Since I installed mysql a few days ago I have had logrotate complaining to root that it cannot get access to the logs to rotate them. I followed the instructions and set up a /root/.my.cnf file so that the rotate could happen, but no go.
After trying various combinations of secret and plain and no and null passwords for root I have hit on a combination that appears to work, that is using an SQL update instruction to the user table in mysql database to put a plain password in there for root and have a plain password in the .my.cnf file.
Now of course the issue is that root with its plain password does not get access to the databases since it tries to compare a command line password with a non-secret one but is expecting it to be secret. Not much of an issue at this point since there are other users will full permissions on everything that I can think of. Any one of these accounts can reset the passwords for 'root'.
Are there any items that you positively have to log in as root from the cli to get them done? Any gotchas that I am likely to run into down the way with this setup?