Project

General

Profile

Actions

Bug #55095

closed

Replace SHOW DATABASE by query to schema

Added by Alexander Opitz over 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2014-01-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In #53761 the usage of deprecated "mysql_list_dbs()" was replaced by "mysql_query('SHOW DATABASES', ...". But this isn't the best way as it may be that the user is restricted. You should better select the information_schema as already done for "admin_get_dbs()" in core, see #47744 for more information.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #53761: Deprecated function call mysql_list_dbs in dbalClosed2013-11-19

Actions
Related to TYPO3 Core - Bug #47744: Fatal error: Call to a member function fetch_object() on a non-object in ClosedAlexander Opitz2013-04-30

Actions
Actions

Also available in: Atom PDF