I work with a few applications at the company I work for. I would like to know what should be a better choice:
- create each person a user y MySQL (configured through an ODBC)
- create a user per application and use the same user in all ODBCs through the whole company?
What do you think will be the advantages or drawbacks?
I would go with a user per application. If your company is of any size, you will quickly find yourself spending all your time creating and destroying MySQL users.
It is better to maintain the user logins in a database for authentication on application startup, and then the application it’s own connection/user to MySQL (which it also uses to authenticate the user).
Then limit all your security based on the user rights that you design in your user table, instead of relying on MySQL to keep people in check.