Hi there,

In the next release of my app I would like to use an existing MySQL DB to get and modify data. What is the right way to do that so that the DB username and password as well as the username and password from the user using the app is not exposed?
I've been reading a bit about connection to a MySQL DB but most post were quite old and stated that it is a bit bumpy to connect with SSL. Is there an up to date example on how to do this?
Is it a security risk to hard code the DB username and password into the code?