Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8058085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:14:29+00:00 2026-06-05T09:14:29+00:00

I have an online mysql database. I understand that to connect to it from

  • 0

I have an online mysql database. I understand that to connect to it from an android app, I need to use a REST web service. From what I understood until now is that I have to use a REST webservice + JSON and Jquery to handle everything. But the things that I dont understand are:

  • do I need any coding to be done on my mysql web host domain?
  • this REST web service needs to be coded within my android app?
  • Do I need an apache http client, and that needs to be coded on my app or on the web host?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T09:14:31+00:00Added an answer on June 5, 2026 at 9:14 am

    You’re confusing database access, server side code and REST.

    It is best practice not to go around directly connecting to databases from a client, especially a “locationally diverse” one.

    Your architecture may look like

    Android app —HTTPS REST Verbs—> RESTful Webservices on server, hosed on Apache, Tomcat etc. — Data access, be it via PDO, JDBC, JPA, whatever —> mySQL.

    The RESTful part really is optional, you can call into whatever you like if you’re using an URL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have an online web hosted MySQL database with HostGator.com that currently stores
I have a web application that relies on a MySQL database, for which I
I have a website that currently takes data from a mysql database and using
I have a MySQL database/table set up and a .php file online that inserts
I have a mysql database I have downloaded from my online server and trying
I have a mysql database and some php that allows you to create an
I am working on table that prints addresses from a MySQL database. I'm not
I am connecting an online MySQL database. I have downloaded MySQL ODBC Connector 5.1.
Say I have a database of recipes that I have online, and I want
I have to make a web-service in Zend Framework for getting data from java

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.