quasar:/srv/mysql # mariadb -VBut now I am hitting a new snag, when I try to run the backup script I get the following response -
mariadb Ver 15.1 Distrib 10.6.15-MariaDB, for Linux (x86_64) using EditLine wrapper
quasar:/srv/mysql # ./mysqlbackup.shThe mysql.log file is showing these 2 error messages also -
mysqldump: Couldn't execute 'SELECT /*!40001 SQL_NO_CACHE */ `EVENT_CATALOG`, `EVENT_SCHEMA`, `EVENT_NAME`, `DEFINER`, `TIME_ZONE`, `EVENT_BODY`, `EVENT_DEFINIT
ION`, `EVENT_TYPE`, `EXECUTE_AT`, `INTERVAL_VALUE`, `INTERVAL_FIELD`, `SQL_MODE`, `STARTS`, `ENDS`, `STATUS`, `ON_COMPLETION`, `CREATED`, `LAST_ALTERED`, `LAST_
EXECUTED`, `EVENT_COMMENT`, `ORIGINATOR`, `CHARACTER_SET_CLIENT`, `COLLATION_CONNECTION`, `DATABASE_COLLATION` FROM `EVENTS`': Cannot proceed, because event sch
eduler is disabled (1577)
2024-10-05 14:43:30 0 [ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type varchar(, found type char(141).My Duck Duck Go searches on the internet suggested I put the following line in the file my.cnf
2024-10-05 14:43:30 0 [ERROR] mysqld: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
event_scheduler=ONbut no joy. Also, most of my internet searches hit on solutions that were designed for running mariadb in a docker container. I am NOT using docker, don't even know how to, and don't want solutions that require docker. Too much to try an grok at this time for me.
One interesting item of note is that on OpenSuSE (at least) the systemd file mariadb.service runs both the install and the upgrade services before starting the actual mysql daemon. Here is an excerpt from mariadb.service that shows this -
[Service]Anyone got any bright and wonderful ideas on how to make mariadb a happy camper that will allow me to do a database backup?
ExecStartPre=/usr/lib/mysql/mysql-systemd-helper install
ExecStartPre=/usr/lib/mysql/mysql-systemd-helper upgrade
ExecStart=/usr/lib/mysql/mysql-systemd-helper start
Many thanks in advance for those who can guide me back to the mariadb light! Marc C...