List Database with Java or PHP [closed]

-2

I would like to know if there is any way for an application to show all the databases of a connection?

I currently use the command:

select
     *
from
     information_schema.TABLES;
    
asked by anonymous 13.08.2017 / 17:52

1 answer

1

Just use SHOW DATABASES at least with me it worked like this, using PHP and mysql

    
13.08.2017 / 18:16