|
||
---|---|---|
.. | ||
README.md | ||
check-memory.sh | ||
export-privs.sh | ||
mysqltuner.pl | ||
promote-master.sh | ||
promote-slave.sh | ||
scheduler-log.sh | ||
sync-conf.sh |
README.md
Scripts to maintain MariaDB
scheduler-log.sh
The following table should be created into MySQL/MariaDB database.
CREATE TABLE `eventLog` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`date` datetime NOT NULL,
`event` varchar(512) NOT NULL,
`error` varchar(1024) NOT NULL,
PRIMARY KEY (`id`),
KEY `date` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci COMMENT='Event scheduler error log'
Then adjust the $logTable variable to the correct schema.