I add the following line to /etc/my.cnf
set-variable = max_allowed_packet=16M
and restart mysqld (service mysqld restart)
copy all the images to /tmp
chmod 777 -R /tmp
but still have the following error
[root@wa05ids data]# cat images.sql |mysql -u root -p zabbix
Enter password:
ERROR 13 (HY000) at line 24: Can't get stat of '/tmp/Hub.png' (Errcode: 13)
[root@wa05ids data]# ls -al /tmp/Hub.png
-rwxrwxrwx 1 root root 1960 Oct 27 12:08 /tmp/Hub.png
set-variable = max_allowed_packet=16M
and restart mysqld (service mysqld restart)
copy all the images to /tmp
chmod 777 -R /tmp
but still have the following error
[root@wa05ids data]# cat images.sql |mysql -u root -p zabbix
Enter password:
ERROR 13 (HY000) at line 24: Can't get stat of '/tmp/Hub.png' (Errcode: 13)
[root@wa05ids data]# ls -al /tmp/Hub.png
-rwxrwxrwx 1 root root 1960 Oct 27 12:08 /tmp/Hub.png
Comment