Ad Widget

Collapse

Schema.sql Errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ssullivan
    Junior Member
    • Oct 2006
    • 5

    #1

    Schema.sql Errors

    Zabbix 1.3
    Os: Debian:
    Mysql:4.0.24_Debian-10sarge2-log

    Here is the error I get.
    cat schema.sql | mysql -u(username) -p(password) zabbix
    ERROR 1064 at line 245: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'serial ,
    nodeid bigint unsigned DEFAULT '0' NOT NULL,
    ite


    Can anybody help?
    Last edited by ssullivan; 17-11-2006, 22:19.
  • brick
    Junior Member
    • Nov 2006
    • 8

    #2
    http://dev.mysql.com/doc/refman/5.0/...-overview.html

    so, just replace "SERIAL" with "BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE"

    Comment

    Working...