PDA

View Full Version : PB With patch.sql for upgrade 1.1.alpha1


tanabay
25-10-2004, 18:36
Hello

I have upgrade Zabbix from 1.0 to 1.1 alpha1

when i use the file patch.sql for mysql i have an error :

insert into images values(1,1,"Hub",load_file("../data/images/Hub.png"));
ERROR 13: Can't get stat of '../data/images/Hub.png' (Errcode: 2)

Thanks

Alexei
27-10-2004, 13:38
I'm aware of this problem. For some unknown reason (security?), MySQL does not allow usage of relative paths in load_file(). I still have no elegant solution for this.

tanabay
28-10-2004, 13:48
Thanks Alexei,

I'm waiting you find a solution

Thanks