Le 2014-02-26 03:06, Michal Čihař a écrit :
Hi
Dne Mon, 24 Feb 2014 15:31:26 -0500 Marc Delisle marc@infomarc.info napsal(a):
I could not find any other reason than supporting servers running with --skip-show-database.
I know this is documented, but do we actually use this? I've just tried to run MySQL with this option and phpMyAdmin works just fine without controluser.
Looking at the code, I've only found it in List_Database.class.php and this code is never executed as the query against information schema works even with --skip-show-database. So I suggest to remove this code:
https://github.com/phpmyadmin/phpmyadmin/pull/963
Also as we no longer use SHOW DATABASE, related section of docs can be IMHO removed:
We have at least one bug report active, from a user who has poor performance with a huge number of databases / tables. He suggests to reinstate the SHOW DATABASES logic.