Project

General

Profile

Actions

Bug #11769

closed

checkConnection: MySQL ping error with MySQL 8.0

Added by Martin Hierholzer 10 months ago. Updated 7 months 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 10 months ago

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

Actions #2

Updated by Matthias Van Ceulebroeck 8 months 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 7 months ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF