commit 5c5bedb5f674a3fede0b332488c710bfd6312839
Author: Elan Ruusamäe <[email protected]>
Date: Mon Dec 12 08:45:10 2016 +0200
set explicit_defaults_for_timestamp to avoid warning
[Warning] TIMESTAMP with implicit DEFAULT value is deprecated.
Please use --explicit_defaults_for_timestamp server option (see
documentation
for more details).
the value set should be the previous behaviour except no warning in logs
mysqld.conf | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/mysqld.conf b/mysqld.conf
index b1351a0..9a576f2 100644
--- a/mysqld.conf
+++ b/mysqld.conf
@@ -184,6 +184,9 @@ slow-query-log-file = /var/log/mysql/slow.log
#query_cache_size=8M
#query_cache_limit=1M
+#
https://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_explicit_defaults_for_timestamp
+explicit_defaults_for_timestamp=false
+
# Fulltext search options
#ft_min_word_len=2
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/5c5bedb5f674a3fede0b332488c710bfd6312839
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit