From: Kern Sibbald Date: Thu, 3 Aug 2017 10:38:41 +0000 (+0200) Subject: Add doc about TIMESTAMP modes in MySQL X-Git-Tag: Release-9.0.3~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a706f71a12baba37ac6a3648cf22c87d6342bd67;p=bacula%2Fdocs Add doc about TIMESTAMP modes in MySQL --- diff --git a/docs/manuals/en/main/mysql.tex b/docs/manuals/en/main/mysql.tex index 4da2bd37..bc6ccb44 100644 --- a/docs/manuals/en/main/mysql.tex +++ b/docs/manuals/en/main/mysql.tex @@ -316,3 +316,11 @@ Bacula otherwise you are likely to get bizarre failures. If you install from rpms and you upgrade MySQL, you must also rebuild Bacula. You can do so by rebuilding from the source rpm. To do so, you may need to modify the bacula.spec file to account for the new MySQL version. + +\section{MySQL Configuration Caution} +\index[general]{MySQL Caution} +Bacula requires that at least one of the TIMESTAMP fields in the +database schema to have a valid value of zero. If you turn on the +{\bf SQL\_MODE} {\bf STRICT\_ALL\_TABLES}, you must be sure that you +turn off the {\bf NO\_ZERO\_DATA} and the {\bf NO\_ZERO\_IN\_DATE} +restrictions or Bacula will not function correctly.