Connecting java to mysql ?

by 4 replies
5
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
#programming #connecting #java #mysql
  • I guess you can use mysql driver to connect any java application to mysql server
    • [1] reply
    • 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.
  • Interesting.article
    • [1] reply
    • 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

Next Topics on Trending Feed