Browse Source

Merge pull request #3178 from eelcomaljaars/sql_mode_doc_update

Added note about MySQL sql_mode on newer versions of MySQL
pull/3179/head
Tobias Diekershoff 4 years ago
committed by GitHub
parent
commit
30b4da37fc
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      doc/Install.md

+ 9
- 0
doc/Install.md 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.
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.


Loading…
Cancel
Save