Symptoms
When attempting to download a MySQL Database Backup the file downloaded is empty. The following example error was received in cPanel's error_log:
mysqldump: [ERROR] unknown variable 'wait_timeout=1200'
Use of uninitialized value $_ in substitution (s///) at /usr/local/cpanel/Cpanel/MysqlUtils/Version.pm line 49, <STDIN> line 1.
Use of uninitialized value $orig in concatenation (.) or string at /usr/local/cpanel/Cpanel/MysqlUtils/Version.pm line 51, <STDIN> line 1.
Invalid MySQL version: “” at /usr/local/cpanel/Cpanel/MysqlUtils/Version.pm line 51, <STDIN> line 1.
Description
This issue can be caused by unknown variables within the MySQL configuration file /etc/my.cnf.
Workaround
Correct or comment out the variable in the /etc/my.cnf file.
Comments
0 comments
Article is closed for comments.