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
Post a Comment