Error while backing up database

nasha

Verified User
Joined
Dec 6, 2016
Messages
13
Hi,
I want to use "admin back up" to back up all users but it can't back up mysql DB.

HTML:
Error while backing up database user1_avwp1: The sql file is 0 bytes in size: /home/admin/admin_backups/user1/backup/user1_avwp1.sql
mysqldump error output: /usr/bin/mysqldump: unknown variable 'local-infile=0'

How can I fix it
 
Hello,

Update /etc/my.cnf or files under /etc/my.cnf.d/ and remove

Code:
[COLOR=#333333]local-infile=0
from section [mysqldump][/COLOR]
 
Thanks zEitEr,
But I inserted this line cause CSf recommended. What do you suggest for security reasons.
 
I can't find this path "/etc/mysql/my.cnf", then where shall I insert it.
 
Back
Top