From 32660b64a751cab1d3c3ea260adeb59cae40c359 Mon Sep 17 00:00:00 2001 From: Eelco Maljaars Date: Tue, 21 Feb 2017 15:59:12 +0100 Subject: [PATCH 1/2] 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. From d9d4a0ccc44f5d8914692ccf49cb5f2d8869c060 Mon Sep 17 00:00:00 2001 From: Eelco Maljaars Date: Tue, 21 Feb 2017 19:32:03 +0100 Subject: [PATCH 2/2] Document reformat as requested - 1 sentence per line --- doc/Install.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/Install.md b/doc/Install.md index 168468df0d..6c4d79287a 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -69,10 +69,9 @@ 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 : +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 = ''