From 9bbad98c0a9d31da28f1b7aa0e15c679140e3d4f Mon Sep 17 00:00:00 2001 From: Ernesto Baschny <ernst@cron-it.de> Date: Thu, 9 Jan 2014 18:11:31 +0100 Subject: [PATCH] [TASK] Document that TYPO3 is not compatible with MySQL strict mode Document that in the requirements section of the INSTALL.md. Resolves: #54883 Releases: 6.2 Change-Id: Idd80528493b9920f4488e359f13fe4304ac5fe25 Reviewed-on: https://review.typo3.org/26725 Reviewed-by: Wouter Wolters Reviewed-by: Philipp Gampe Reviewed-by: Aske Ertmann Reviewed-by: Oliver Klee Reviewed-by: Stefan Neufeind Reviewed-by: Michael Stucki Tested-by: Michael Stucki Reviewed-by: Markus Klein Tested-by: Markus Klein --- INSTALL.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index b718e2112540..622dce9c310f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -30,9 +30,20 @@ system requirements for running TYPO3 CMS 6.2 LTS are: * Webserver capable of running PHP applications (Apache, Nginx, IIS or other) * PHP >5.3.7 up to 5.5 (PHP 5.4 or later recommended) -* MySQL 5.1 up to 5.6 or compatible +* MySQL 5.1 up to 5.6 or compatible (no "strict mode", see below) * more than 200 MB of disk space +### MySQL environment + +TYPO3 works with MySQL in the above mentioned versions. It will also work on +compatible "drop-in" replacements like MariaDB or Percona. + +Note that MySQL "strict mode" is currently not supported by TYPO3. If your +MySQL server is configured with either STRICT_TRANS_TABLES or +STRICT_ALL_TABLES (especially true with MySQL 5.6, as this is a new default), +you need to configure setDBinit in the Install Tool. See question 2 in the +"Installation FAQ" below for more information. + ### PHP environment * memory_limit set to at least 64M @@ -78,7 +89,7 @@ functionality: * Apache with mod_expires and mod_rewrite enabled -* MySQL 5.1 or newer +* MySQL 5.5 or newer * GraphicsMagick or ImageMagick v6 or newer installed on the server @@ -256,7 +267,7 @@ A: If you use MySQL 5.x or newer, try setting it to "compatible" mode. Open the example.com is the web site domain), navigate to "All configuration". Find "setDBinit", and add this line to the top of the input field: ``` - SET SESSION sql_mode='MYSQL40' + SET SESSION sql_mode='' ``` ### 3 -- GitLab