Creating an app for iOS I am assaulted by the following structure problem:
The app should be connected to a mysql database that also serves as a web database.
Now the step that I do not know how to orient very well is how to perform: with your username / password access your corresponding bd (for example: with user data pepe / 1234 access the database empresa1_bd , with the data some / 4567 access the database empresa2_bd ).
Should I have an intermediate bd or something similar?