Need some help in Android(Kotlin) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Need some help in Android(Kotlin)

Recently, when I was developing an Android App with Kotlin, I encountered a problem in the process of connecting to MySQL. Check the log in Logcat and find that there will be such a prompt: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure. I found a lot of methods on the Internet to solve this problem, and found that these solutions are ineffective, which handsome or pretty could give me an answer, thx very much! ! !

5th May 2022, 2:14 PM
Lee Jae-yem
Lee Jae-yem - avatar
1 Answer
0
Read the top answer to the same question here: https://stackoverflow.com/questions/6865538/solving-a-communications-link-failure-with-jdbc-and-mysql As you can read, it clearly says you will have to try all solutions one by one and not give up. So, no shortcuts here!
5th May 2022, 3:27 PM
Infinity
Infinity - avatar