Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10876

Server can't upgrade SQL tables.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Critical Critical
    • None
    • 3.2.0alpha1
    • Server (S)
    • Debian jessie 8.0.3, MariadDb 10.1.13, trunk revision 60476

        6508:20160604:144112.323 query [txnlev:1] [begin;]
        6508:20160604:144112.323 query [txnlev:1] [alter table event_tag add constraint c_event_tag_1 foreign key (eventid) references events (eventid) on delete cascade]
        6508:20160604:144112.384 [Z3005] query failed: [1005] Can't create table `zabbix`.`#sql-83a_f15c` (errno: 150 "Foreign key constraint is incorrectly formed") [alter table event_tag add constraint c_event_tag_1 foreign key (eventid) references events (eventid) on delete cascade]
        6508:20160604:144112.384 query [alter table event_tag add constraint c_event_tag_1 foreign key (eventid) references events (eventid) on delete cascade] failed, setting transaction as failed
        6508:20160604:144112.384 query [txnlev:1] [rollback;]
        6508:20160604:144112.384 database upgrade failed
      

            Unassigned Unassigned
            lynxchaus Andrey Melnikov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: