First some Infos: - I use Android Studio to make an App - the mySQL Database is running via XAMPP
I am trying to connect to my local mysql Database with the following Source Code:
FConn = DriverManager.getConnection("jdbc:mysql://10.0.0.2:3306/[DatabaseName]", "[Username]", "[Password]");
When I run this i get the Error Message:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
I tried to make a Telnet from my PC and all I get is:
5.5.5-10.1.25-MariaDB4Sam~VoM?áp
p2DC
=NO#]mysql_native_password Lost Connection to Host
I hope that is enough Info and you guys can help me.