sql - create tables in all newly created databases in MySQL -


on each new registration, create database each user using php. each database has set of 8 tables. want create 8 tables each new user or let's each time new database created.

i cannot use triggers because can used on tables. else can done here? there simple missing?

update: found there stored procedures well. can these stored procedures used triggers check new database creation , execute?

run creation scripts after create dataabase. i'm not aware of "default tables" option in mysql, functionality easy replicate , used.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -