I have a few small databases running MySQL/Mariadb.
I am trying to convert from mysql to mysqli in PHP. after an earlier trial a few months ago, I suddenly find out that the mariadb server is not running (and that makes the testing not easier
).
Starting it through YaST > Services Manager does fail. The CLI:
Code:
nieuw:~ # systemctl start mariadb
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
nieuw:~ # systemctl status mariadb.service
● mariadb.service - MySQL server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-12-26 17:21:44 CET; 7s ago
Process: 8483 ExecStartPre=/usr/lib/mysql/mysql-systemd-helper upgrade (code=exited, status=1/FAILURE)
Process: 8475 ExecStartPre=/usr/lib/mysql/mysql-systemd-helper install (code=exited, status=0/SUCCESS)
Dec 26 17:21:44 nieuw mysql-systemd-helper[8483]: /usr/bin/mysqlcheck: Got error: 1102: Incorrect database name '#mysql50#.vim' when selecting the database
Dec 26 17:21:44 nieuw mysql-systemd-helper[8483]: FATAL ERROR: Upgrade failed
Dec 26 17:21:44 nieuw mysql-systemd-helper[8483]: Upgrade failed
Dec 26 17:21:44 nieuw mysql-systemd-helper[8483]: Shuting down protected MySQL
Dec 26 17:21:44 nieuw mysql-systemd-helper[8483]: Final cleanup
Dec 26 17:21:44 nieuw mysql-systemd-helper[8483]: Something failed during upgrade, please check logs
Dec 26 17:21:44 nieuw systemd[1]: mariadb.service: Control process exited, code=exited status=1
Dec 26 17:21:44 nieuw systemd[1]: Failed to start MySQL server.
Dec 26 17:21:44 nieuw systemd[1]: mariadb.service: Unit entered failed state.
Dec 26 17:21:44 nieuw systemd[1]: mariadb.service: Failed with result 'exit-code'.
nieuw:~ #
I ahave no idea how to interprete this. Has the "Upgrade failed" anything to do with a system software update? And what is the meaning of a database called #mysql50#.vim, I haven't one with that name.
Anyone that is has more insight in Mariadb and can help with suggestions is more then welcome.
Bookmarks