java - Accessing google sql database with external app in android -


I realize that you can not connect directly to the app directly in the database. So what I did was creating a GAE (Google Apps Engine) backend with an external app that would access the database

External app-> Backend-> Google Cloud SQL

While I am confused as to where I placed Google SQL Server address in the GAE backend. Will this enable Google Cloud SQL which is under the property for the app engine?

It is already in existence with Google Cloud Databases.

You must specify the address of the cloud SQL instance (and the user name and the Password):

connection conn = DriverManager.getConnection ("jdbc: google: mysql: // your-project-id: your-example-name / database", "user", "password");

View

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -