Android + MySQL using com.mysql.jdbc.Driver

后端 未结 4 2190
無奈伤痛
無奈伤痛 2020-12-02 02:13

I am writing an Android application that will connect to a MySQL server. For now, I am testing the MySQL server on my computer through XAMPP using http://localhost:3306/. T

4条回答
  •  盖世英雄少女心
    2020-12-02 02:57

    An other approach is to use a Virtual JDBC Driver that uses a three-tier architecture: your JDBC code is sent through HTTP to a remote Servlet that filters the JDBC code (configuration & security) before passing it to the MySql JDBC Driver. The result is sent you back through HTTP. There are some free software that use this technique. Just Google "Android JDBC Driver over HTTP".

提交回复
热议问题