Project

General

Profile

Actions

Bug #11769

closed

checkConnection: MySQL ping error with MySQL 8.0

Added by Martin Hierholzer over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
06/23/2023
Due date:
% Done:

100%

Estimated time:

Description

I am using a @FixedSqlConnectionPool@ to connect to a MySQL database. When a connection of the pool runs into the MySQL server's connection timeout, @MySQL::checkConnection()@ will throw the following exception:

what(): checkConnection: MySQL ping error: The client was disconnected by the server because of inactivity. See wait_timeout and interactive_timeout for configuring this behavior.

I have created a pull request for fixing this already: https://github.com/emweb/wt/pull/202

Actions #1

Updated by Martin Hierholzer over 1 year ago

(sorry, I used the wrong markup syntax - the @ symbols should indicate pre-formatted code)

Actions #2

Updated by Matthias Van Ceulebroeck about 1 year ago

  • Status changed from New to Implemented @Emweb
  • Assignee set to Matthias Van Ceulebroeck
  • Target version set to 4.10.1
  • % Done changed from 0 to 100
Actions #3

Updated by Matthias Van Ceulebroeck about 1 year ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF