Create multiple databases in one command line?

Can this command be scripted?

\$ mysqladmin -u username -p create databasename


I would certainly such as to do it for numerous names simultaneously? Additionally I would certainly such as to after that set permissions for every one of them simultaneously too. I'm not exactly sure just how to do this?

2
2022-07-25 20:39:51
Source Share