From 32660b64a751cab1d3c3ea260adeb59cae40c359 Mon Sep 17 00:00:00 2001 From: Eelco Maljaars Date: Tue, 21 Feb 2017 15:59:12 +0100 Subject: [PATCH] Added note about MySQL sql_mode on newer versions of MySQL --- doc/Install.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/Install.md b/doc/Install.md index e494c1edf0..168468df0d 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -69,6 +69,16 @@ Create an empty database and note the access details (hostname, username, passwo Friendica needs the permission to create and delete fields and tables in its own database. +With newer releases of MySQL (5.7.17 or newer), you might need to set the sql_mode +to '' (blank). Use this setting when the installer is unable to create all the needed +tables due to a timestamp format problem. In this case find the [mysqld] section +in your my.cnf file and add the line : + +sql_mode = '' + +Restart mysql and you should be fine. + + ###Run the installer Point your web browser to the new site and follow the instructions.