[TASK] Database creating fails due to not allowed characters
authorNicole Cordes <n.cordes@biz-design.biz>
Fri, 21 Sep 2012 09:57:30 +0000 (11:57 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Fri, 21 Sep 2012 20:11:28 +0000 (22:11 +0200)
commitd3a54feb6f67b1d75c3abb2dbcc8f6cf562aa7a4
tree5f01f56447b7658d6951b52aa76a5874fa29e7d5
parent5357472d9a0fba39848ad581bb49b82f8aa5471a
[TASK] Database creating fails due to not allowed characters

Due to compatibility the CREATE DATABASE statement is used without quotes.
At least for MySQL databases there are limited characters allowed to use
in unquoted database names (0-9,a-z,A-Z$_). At the moment the database
name is parsed with enabled hyphen but this is obviously not allowed. The
parsing has to be changed to meet the MySQL limitation as well.

Change-Id: I24dcf99bb9baed6a4794183de0eb4f99a0948b7c
Resolves: #41151
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/14812
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/install/Classes/Installer.php