Bug 34560

Summary: Upgrade stops after: MYSQL_OPT_RECONNECT error
Product: Koha Reporter: José Anjos <joseanjos>
Component: DatabaseAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description José Anjos 2023-08-17 09:08:01 UTC
I'm trying to upgrade from version 20.05 to 23.05

When the upgrade starts I get this warning:
Upgrading database schema for koha
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.

The upgrade goes OK until the end.

Then, on Web Installer, I get this:
Updating database structure

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

The only option available is: Try again

It seems a Mysql bug:
https://bugs.mysql.com/bug.php?id=112089

Is there a way to bypass this warning?

My Ubuntu version: 20.04.6 LTS
Comment 1 José Anjos 2023-08-18 13:25:15 UTC
Today I've make a apt get update and upgrade and the problem is gone.