Переглянути джерело

fix: update MariaDB example configuration file

Emmanuel Bouthenot 10 місяців тому
батько
коміт
7f4bbcf2b6
2 змінених файлів з 7 додано та 2 видалено
  1. 1 1
      Changelog.md
  2. 6 1
      examples/mariadb.conf

+ 1 - 1
Changelog.md

@@ -2,7 +2,7 @@
 
 ## Version 2.1
 
-* Add support for MySQL (using the `DBENGINE` configuration parameter).
+* Add support for MySQL/MariaDB (using the `DBENGINE` configuration parameter).
 * Add a command line option `-c` to specify an alternate config file or directory (see [Documentation](/Documentation.md)).
 * Add manpage
 * Fix hypotetical shell injection by crafting special database names

+ 6 - 1
examples/mariadb.conf

@@ -1,6 +1,6 @@
 
 # DB engine
-DBENGINE="mariadb"
+DBENGINE="mysql"
 
 # Backup directory
 BACKUPDIR="/var/lib/autodbbackup/${DBENGINE}"
@@ -22,3 +22,8 @@ BRDAILY=7
 # Compression tool
 COMP="zstd"
 
+# mariadb path (like "mysql" for MySQL)
+MY="mariadb"
+
+# mariadb-dump path (like "mysqldump" for MySQL)
+MYDUMP="mariadb-dump"