Issue Bug Closed

#22893Core: Could not initialize DB connection with query "SET CHARACTER SET utf8 ...

Mark Iron 06/15/10, 20:41 updated 10/02/18, 12:23

Description

Even the config works with typo3 4.3.3 it does not work with typo3 4.4 beta3 (s. error message from the logfile further below)

The setting works for typo3 4.3.3: [SYS][setDBinit] = SET CHARACTER SET utf8; SET NAMES utf8;

—-
15-06-10 20:27 – Core: Could not initialize DB connection with query “SET CHARACTER SET utf8; SET NAMES utf8;”: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘SET NAMES utf8’ at line 1
15-06-10 20:27 – Core: Could not initialize DB connection with query “SET CHARACTER SET utf8; SET NAMES utf8;”: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘SET NAMES utf8’ at line 1
—-

regards,
Mark

MySQL log:
—-
100615 20:27:23 283 Connect typo3dbadmin@localhost on
283 Query SET CHARACTER SET utf8; SET NAMES utf8
283 Init DB domain_comch
283 Query SET CHARACTER SET utf8; SET NAMES utf8
283 Query show databases
283 Init DB information_schema
283 Init DB domain_comch
—-
(issue imported from #M14740)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.