John Sherling
2006-12-14 02:18:58 UTC
I'm using 4.1.13a of mysql. Want to know if there's an easy way to dro
pall databases that share a common prefix, using a single command. So
if my databases are:
uesr1_coolDB1
user1_another_db_2
user1_db3
I'd like to be able to drop them all with something like:
DROP DATABASE user1_*;
Possible? Other ways to do the same thing?
Many thanks...
pall databases that share a common prefix, using a single command. So
if my databases are:
uesr1_coolDB1
user1_another_db_2
user1_db3
I'd like to be able to drop them all with something like:
DROP DATABASE user1_*;
Possible? Other ways to do the same thing?
Many thanks...