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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -