bacula mysql support requires server configuration changes
Bug #1577858 reported by
Robie Basak
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bacula (Ubuntu) |
Fix Released
|
Medium
|
Norvald H. Ryeng | ||
Xenial |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
* dbconfig configuration for bacula-
"invalid default value for 'CleaningDate'"
[Test Case]
* Do a fresh install of 16.04. Install mysql-server and then install bacula-
[Regression Potential]
* The regression likelihood is low, as the fix proposed simply lowers the strictness of strict mode during database installation so that zero values are allowed for DATETIME fields.
See https:/
tags: | added: mysql-5.7-transition |
tags: | added: needs-upstream-report |
Changed in bacula (Ubuntu): | |
assignee: | nobody → Norvald H. Ryeng (nryeng) |
milestone: | none → ubuntu-16.05 |
description: | updated |
Changed in bacula (Ubuntu Xenial): | |
importance: | Undecided → Medium |
To post a comment you must log in.
The default SQL mode in 5.7 is "ONLY_FULL_ GROUP_BY, STRICT_ TRANS_TABLES, NO_ZERO_ IN_DATE, NO_ZERO_ DATE,ERROR_ FOR_DIVISION_ BY_ZERO, NO_AUTO_ CREATE_ USER,NO_ ENGINE_ SUBSTITUTION" .
These are good defaults, so I recommend not changing the default SQL mode for the installation, but rather setting a suitable SQL mode in bacula sessions, using SET SESSION sql_mode = '...'. I also recommend that as many of the modes are kept and that only those causing problems are removed.
See http:// dev.mysql. com/doc/ refman/ 5.7/en/ sql-mode. html for more info.