[BUGFIX] Replace SHOW DATABASE by query to schema 37/23637/6
authorAlexander Opitz <opitz.alexander@googlemail.com>
Thu, 5 Sep 2013 12:55:47 +0000 (14:55 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 12 Sep 2013 17:53:57 +0000 (19:53 +0200)
commit7bb2cc9ca9ba9a79efd78d93c78c36635f3310ce
tree21f26c6f9b13396a13b319fdcb6344e4cc1c8322
parenteee040cc3ba06154638f94ed1b59c7e2a78e4064
[BUGFIX] Replace SHOW DATABASE by query to schema

The SQL query "SHOW DATABASE" may be restricted on the SQL Server.
Since MySQL 5.0 (which is minimum since TYPO3 CMS 4.7) we can also query
the information_schema table to gather the information to which table
we have access.

Resolves: #47744
Releases: 6.2, 6.1
Change-Id: Ie65abadeed54cbc54bee401bdc1aab18ffc8eea6
Reviewed-on: https://review.typo3.org/23637
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Database/DatabaseConnection.php