Issue Bug Closed

#55095Replace SHOW DATABASE by query to schema

Alexander Opitz 01/17/14, 10:00 updated 06/15/15, 18:25

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.

Reviews 0

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