Merge pull request #3178 from eelcomaljaars/sql_mode_doc_update

Added note about MySQL sql_mode on newer versions of MySQL
This commit is contained in:
Tobias Diekershoff 2017-02-21 19:57:25 +01:00 committed by GitHub
commit 30b4da37fc

View file

@ -69,6 +69,15 @@ 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. 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 ###Run the installer
Point your web browser to the new site and follow the instructions. Point your web browser to the new site and follow the instructions.