Wrong INDEX in MySQL database causes mysql_query errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ndoutils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ndoutils-
After connection to the database, /var/log/messages reports a problem with the database:
ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_
...
ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_
This is due to a wrong uniqueness in the DB, a new INDEX eliminates the Problem:
ALTER TABLE nagios_
ALTER TABLE nagios_
Bug seems to originate from source 1.4b7, later Versions of ndoutils (1.4b8 and 1.4b9) seem not to be affected.