There are 2 applications which are designed to connect to DB and a table with matching fields. The goal is to connect the 2 applications to the same database and the same table. Both applications will be selecting, inserting and updating the data. However there are some differences between the applications:
- One is designed to connect to MySQL, the other to MariaDB.
- The expected table name is different
The current plan is to connect both applications to MariaDb. The MariaDb application would keep functioning as before. For the MySQL application I would create a VIEW in MariaDb, which would make the data available under a different name (as the application expects). Since only CRUD operations are executed on just one table I would expect this to work without problems.
- Is there any other (better) way to achieve what I aim to do?
- Any recommendations or issues to look out for in such a setup?