mercredi 19 décembre 2018

Federated table with dynamic connection

I have B2B like application, facing a challenge is each of my clients needs to store their data in different RDS. I am planning to achieve this using MySQL federated engine, but while creating local table we need to specify connection string but is this possible to change those connection string based on user logged in? . I mean will store each users connection data's in local database ,then we accessing those users data need to add that connection string to federated table, is this possible?. Developing my application using Laraval and MySQL.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire