Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1954

Alter table across muliple db's with almost same name (1 reply)

$
0
0
I am wanting to make a change on a multi tenant app that has 1 database per customer. They all have the same name but has a unique number at the end of the name to identify like "test121, test122, test123' etc. Is there a way to script across all db that have "test" in the name to then run an alter on a table? Im having trouble finding a good tutorial out there and am sure my search terms are probably off. Thank you in advance

Viewing all articles
Browse latest Browse all 1954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>