Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Wednesday, July 28th at 3pm PST / 6pm EST. Learn more
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
AnilD
New

Connecting to a MySQL database from Android app

I want to access the mySQL database from my android app. Can someone guide me how can I set up connection with mySQL database from my app.

 

It will be great help if I can get to see some sample code ( Even code for basic Java application will do)

2 REPLIES 2
Heather
Employee

Hello @AnilD!

 

Thank you for posting! Can you provide some additional information so the community can understand your situation better? Which app are you referring to? The GoDaddy Mobile app? Which type of hosting do you have? Is this a database that's hosted on our servers? Etc. Thanks!

 

Heather - GoDaddy | Community Moderator
24/7 support available at x.co/247support
udayanem
New

Hi Anil,

 

Did you got any solution or code that is working for you? I am also sailing on the same ship, so can you please share any sample code or any useful references?

 

I am having my DB in GoDaddy and I have written my php code(which is in GoDaddy cPanel hosting). Now my Android program needs to call this PHP code. How can i do this? It is a great help if you can provide any sample code.

 

Looking forward your help.

 

Thanks & Regards,

Uday