My phpmyadmin have these databases and looks like this:
demo_db_1
information_schema
mysql
performance_schema
demo_db_2
test_db_1
test_db_2
How can I get a list of all custom databases?
Meaning: when I run a file test.php, I would like to see a list like
demo_db_1
demo_db_1
test_db_1
test_db_2
I don't want to connect to any database. Just want the list of all the created databases. How can I achieve this?
Thanks in advance