I have here, subject a: an XServe G5 running OS X 10.3.9 Server.
The problem with it, is it was running MySQL apps (it runs an intranet website, no connection to the outside world), as root with no password. That is, root in MySQL had no password configured.
Aside from the "eep" this causes anyway, the MySQL seems to have assigned itself one when I tried to make a backup earlier, in preparation to move it to 10.4 server.
So now, none of the intranet can be accessed, as the database has become inaccessible - and I need to either (a) rid myself of the password to make the backup, or (b) reset the password.
I've found procedures for recovering the root password but the commands will not work on the XServe - specifically --skip-grant-tables - while logged in as the root on OS X, it keeps saying "permission denied" when I try to kill the mysql processes.
Any ideas how I can sort this, or what I can do? Where is the MySQL database stored - and can I access the flat files and pull out the information - if necessary..?
Thanks
The problem with it, is it was running MySQL apps (it runs an intranet website, no connection to the outside world), as root with no password. That is, root in MySQL had no password configured.
Aside from the "eep" this causes anyway, the MySQL seems to have assigned itself one when I tried to make a backup earlier, in preparation to move it to 10.4 server.
So now, none of the intranet can be accessed, as the database has become inaccessible - and I need to either (a) rid myself of the password to make the backup, or (b) reset the password.
I've found procedures for recovering the root password but the commands will not work on the XServe - specifically --skip-grant-tables - while logged in as the root on OS X, it keeps saying "permission denied" when I try to kill the mysql processes.
Any ideas how I can sort this, or what I can do? Where is the MySQL database stored - and can I access the flat files and pull out the information - if necessary..?
Thanks