• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Forwarded to devs MySQL 8 database dump fails

Duarte N

New Pleskian
Username:

TITLE

MySQL 8 database dump fails

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian v18.0.65_build20241025.12 os_Windows 2012/2016/2019/2022

PROBLEM DESCRIPTION

After upgrading to build 18.0.65 it is not possible to dump MySQL 8.0 databases:
Code:
Unable to make database dump. Error: Failed to exec mysqldump.exe: Exit code: 2: mysqldump.exe: Couldn't execute '/*!100100 SET WAIT_TIMEOUT=DEFAULT */': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0 SET WAIT_TIMEOUT=DEFAULT */' at line 1 (1064)

Scheduled backups also fail to dump the databases with the following warning:
Code:
WARNING:      (Database object 'xxxxxxxx')      Unable to make database dump. Error: Failed to exec mysqldump.exe: Exit code: 2: mysqldump.exe: Couldn't execute '/*!100100 SET WAIT_TIMEOUT=DEFAULT */': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0 SET WAIT_TIMEOUT=DEFAULT */' at line 1 (1064)

STEPS TO REPRODUCE

Choose a MySQL 8.0 database and perform "Export Dump".

ACTUAL RESULT

Unable to make database dump. Error: Failed to exec mysqldump.exe: Exit code: 2: mysqldump.exe: Couldn't execute '/*!100100 SET WAIT_TIMEOUT=DEFAULT */': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0 SET WAIT_TIMEOUT=DEFAULT */' at line 1 (1064)

EXPECTED RESULT

Database exported successfully, as well as backups performed successfully.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
I have the same problem... Backup or exporting database don't work from the last update...

Do you have any update about this bug?
 
Hello, @flyd. Our engineers are still investigating the case. We understand that this situation is not pleasant. Our team is doing its best to find the culprit of the issue as quickly as possible. Thank you in advance for your understanding on the matter.
 
Hello, @uezbe. A fix hasn't been introduced for that bug yet. I will update the thread with confirmation as soon as the same is released.
 
This bug appears to have been fixed, although I can't find any mention of it in the Change Log for Plesk Obsidian.
 
Same problem here with backup on mysql 8.0.. Please confirm when this bug is going to be resolved.. no tchecked after 18.0.67 Update 3
 
The initially reported bug in this thread was fixed in scope of another bug that resulted in the update of MariaDB for the Plesk database to version 11.4.4. Could you please confirm if you are running Plesk 18.0.66 or higher? Also, the OS of the server and if you are encountering the exact same error through the exact same steps as the main thread. Thank you in advance.
 
Back
Top