Skip to content

fix: remove MySQL ping reconnect#8507

Open
fstagni wants to merge 1 commit intoDIRACGrid:integrationfrom
fstagni:fix_remove_mysql_reconnect
Open

fix: remove MySQL ping reconnect#8507
fstagni wants to merge 1 commit intoDIRACGrid:integrationfrom
fstagni:fix_remove_mysql_reconnect

Conversation

@fstagni
Copy link
Copy Markdown
Contributor

@fstagni fstagni commented Apr 10, 2026

  • backport to v8

With the DIRACOS2 version https://github.com/DIRACGrid/DIRACOS2/releases/tag/2.59 the MySQL libraries were bumped to version 9.0.5. Such version flags the following:

WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.

which then spams all DIRAC component's logs.

Seems like simply removing the flag in conn.ping solves it. For reference: https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-ping.html

BEGINRELEASENOTES

*Core
FIX: remove MySQL ping reconnect

ENDRELEASENOTES

@fstagni fstagni requested a review from atsareg as a code owner April 10, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants