Quote:
Originally Posted by Labinnah
I can confirm problem, but solution is easy.
Mariadb daemon has no longer name "mysqld" only "mariadbd". Change ~61 line in /etc/rc.d/rc.mysql from "killall mysqld" to "killall mariadbd", or apply this patch:
...
|
I do not agree with your solution, although it works.
Code:
/etc/rc.d/rc.mysqld --help
Quote:
usage /etc/rc.d/rc.mysqld start|stop|restart
|
Code:
/usr/share/mysql/mysql.server --help
Quote:
Usage: mysql.server {start|stop|restart|reload|force-reload|status|configtest|bootstrap} [ MariaDB server options ]
|
I think we should use the mysql.server script.
There is already a patch proposal to avoid terminating other mysql instances at:
https://www.linuxquestions.org/quest...ml#post6137742
I also recommend the following when migrating to a major version for MariaDB:
1. backup to databases;
2. uninstall previous version;
3. cleaning the remaining folders/files;
4. install the new version;
5. configuration
mysql_install_db --user = mysql
/usr/bin/mysql_secure_installation
6. test
mysql -u root -p