I could not resist the urge to replace MySQL with MariaDB but, as usual, it has not gone quite to plan :s .
Are there any obvious step that I have missed?
After making dumps/backups and creating a new repo I took the following steps:
# service mysqld stop
# yum -y remove mysql\*
I now realised the "*" lead me to delete some required packages when I saw terminal erasing virtualmin!
# yum update
# yum install -y MariaDB-server MariaDB-client MariaDB-devel
# cp /etc/my.cnf.rpmsave /etc/my.cnf
mysql -V
This showed that Maria DB was up and running
I then had to go through and reinstall everything that had been deleted by the daftly added “*” , which was: postfix, mailman, virtualmin-base, sysstat, webalizer. I ran Re-check Configuration and all is fine. All is running There is only one thing that I have not been able to correct/restore which is:
The MySQL startup script /etc/rc.d/init.d/mysqld was not found on your system. Maybe MySQL is not installed, or your module configuration is incorrect.
The package can be automatically installed by Webmin. Click here to have it downloaded and installed using YUM.
There is no file at “/etc/rc.d/init.d/mysqld” and I have been unable to find it at all. I can start/restart/stop mysql at the command line so it is not the end of the world.
Does anyone have any suggestion as to where the mysqld has gone/is/should be? Or alternatively where I should point “Command to start MySQL server” to?
Any suggestions welcome!