Connecting java to mysql ?

4 replies
Hi, i am creating an android application and i need to connect my app to a mysql server. Can somebody introduce me what should i do or give me a working link
#connecting #java #mysql
  • Profile picture of the author harrisunderwork
    I guess you can use mysql driver to connect any java application to mysql server
    Signature
    {{ DiscussionBoard.errors[4809058].message }}
    • Profile picture of the author jmartinez
      I'm not sure the details of the connection your app will be making, but if necessary be sure the client that is connecting to the db has grant options set properly. Another option would be for your andriod app to interact with a php script that queries the db. This would avoid having to connect directly.
      {{ DiscussionBoard.errors[4809606].message }}
  • Profile picture of the author laseriv13
    Interesting.article
    {{ DiscussionBoard.errors[4812242].message }}
    • Profile picture of the author VladislavTodorov
      Hello=)
      This is the official MySQL connector for Java:
      dev.mysql.com/ downloads /connector /j/
      (Please remove spaces, the forum rules forbid me to post a real link because this is my first post in the forum)
      I hope that helps and best of luck with your application!
      Vlado
      {{ DiscussionBoard.errors[4813614].message }}

Trending Topics