MySQL 服务有时会自动停止,然后再运行 当它停止时 我的JAVA程序会报 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure的错误 程序是一直反复读取数据库信息的,而当抛出这个错误后,就是MySQL的服务启动了,程序也无法读取数据库了,请问该怎么解决呢?我没有使用框架,麻烦各位了,谢谢。
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn