I don’t know if there’s a "better option".
Split database:
Pros
All stored in one place.
No need to do "experiments" to log into the bank.
Easy backup - single file
No need to worry about updating the structure of tables, fields, etc in various banks.
Cons
Every query will take care to make a filter per client
Data open to other customers
Concern to always build quick querys, because some customers may have few records, others, may have millions...
Exponential growth of the base
Create one for each
Pros
Data of each client "protected" and in its base
When the customer wants to disconnect, sending the data will be faster
Database with size (MB) according to customer data
Customized base according to his need
Querys with no need to worry about one more filter
Cons
Time-consuming backup - nothing that can’t be automated
Data loss can be a problem
DML changes can take time, as you have to do bank by bank.
Anyway, I think you need to study what you think is best for your application. Unfortunately on something you will lose, this will be almost inevitable, just choose the side.
I hope I’ve helped
It is possible to create a Mysql database via php, in case you need help with this I can post an answer explaining, now you have to analyze the pros and cons of each solution.
– Jeferson Almeida
If you can show me how to create!
– Rafael Silva
I will elaborate an answer teaching to do this and giving some tips.
– Jeferson Almeida