Home > Database > Mysql Tutorial > jdbc-mysql5.7 eight-hour mechanism problem

jdbc-mysql5.7 eight-hour mechanism problem

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-12-01 00:00:02
Original
1074 people have browsed it

mysqljdbc database

MySQL database will have a problem with the eight-hour mechanism. Usually by default, the jdbc link will fail if it exceeds eight hours. I encountered a similar problem in version 5.1 and successfully changed the interactive_timeout and wait_timeout parameters in the my.ini configuration file. Solved, but it still fails after the 5.7 version change. I hope you can give me some advice

Reply content:

A retry connection mechanism can be implemented to prevent idle disconnection

Related labels:
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template