You shouldn't connect directly from your phone to a database that's sitting on a server somewhere.
A better solution would be to set up a web service on the server that allows you to read/update the database, and then call that web service from the Android app.