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! ! !
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!