views:

3

answers:

0

example_ or e_

I want to drop all databases that match the prefix e_, so that e_database1, e_database2 and so forth are dropped.

Commands that do not work:

mysql drop database e_% mysql drop database e_*

I'm not looking for all the tables in a given database, but all the databases in a given MySQL server.