1
I am drafting an online project and I need to ask a question regarding the creation of the database.
I will have a database COMPANIES containing the reference with name and a code.
From this COMPANIES bank I will want to generate a new database structure, but I do not want to have to create manually every time I register a new company to create the bank in the nail, there is a function I can do to replicate this structure by registering a new company?
But could I upload the dump by registering in the COMPANY table? Only using the Mysql database manager.
– DevAgil
Interesting but there is some requirement to give a CREATE DATABASE from the outside because I never tried it, create all the databases through the database manager or phpmyadmin.
– Marcos Vinicius
you simply separate a default dump and when you register for the application you open this dump for the application by changing the create database by the name you want and import. In the direct registration in the register, you can use a Trigger or store.
– Otto