Ad Widget

Collapse

PB With patch.sql for upgrade 1.1.alpha1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tanabay
    Junior Member
    • Oct 2004
    • 25

    #1

    PB With patch.sql for upgrade 1.1.alpha1

    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
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    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.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • tanabay
      Junior Member
      • Oct 2004
      • 25

      #3
      Thanks Alexei,

      I'm waiting you find a solution

      Thanks

      Comment

      Working...