Mysql problem: after changing root password, cannot start onboot
I have a master-master setup (using heartbeat) and recently, the 1st master password has been lost.. so I change it by stopping the service, and restarting it using --skip-grant-tables. thereafter i change it but when i try to restart the service I get a "MySQL manager or server PID file could not be found" error.
I tried removing my entire my.cnf and the service work. I figure it is something to do with the replication (corrupted?) but i have no idea how I should go about restoring/troubleshooting.. anyone can guide? Right now, I manually start mysql by executing mysqld -uroot --relay-log=db1-relay-bin Replication is still working, just that it cannot start on boot... thanks!@ |
this is what is in the db1.hostname.err in /var/lib/mysql
Quote:
|
Ok I realise when I start mysql as "root" it works, but as "mysql" it doesn't
the following are the onscreen output as follows: as 'root' Quote:
Quote:
thanks again! |
ok i found out mine problem
somehow, the permissioning of the log files were switched to root, thereby create errcode 13, which is permission denied. i just chown the files back to mysql, and it work. whew. thanks for reading people! |
All times are GMT -5. The time now is 08:40 PM. |