0

I can connect via another app , but not with mine (just to say my server works fine).

 Class.forName("com.mysql.jdbc.Driver").newInstance()
        conn = DriverManager.getConnection(
            "jdbc:mysql://*.*.*.*:3306/Biblioteca",
            connectionProps)

I have the driver mysql-connector-j-8.0.31.jar ,I'm using android studio. I've searched a lot of tutorials and everyone can connect with this, but i can't.

  • 1
    Please [reconsider your use of JDBC on Android](https://stackoverflow.com/questions/15853367/jdbc-vs-web-service-for-android). – CommonsWare Oct 23 '22 at 14:15

0 Answers0