MySQL statement assistance with upgrade to 0.8.8
"Mark S. Turczan" <[email protected]>
| Newsgroups | gmane.network.cacti.user |
|---|---|
| Message-ID | <7908_1333548498_0M1Y00GR1KLTDJ10_3F65C218-55DD-4EAB-B48D-A71C646E98B1@nyp.org> |
Folks, I'm in the process of upgrading from 0.8.7g to 0.8.8. The installation script kicked back one error in the 0.8.7i -> 0.8.8 section of SQL statements: [Fail] ALTER TABLE `poller_output` ADD PRIMARY KEY (`local_data_id`, `rrd_name`, `time`) USING BTREE I logged into mysql as the root user and attempted to enter the command: mysql> ALTER TABLE `poller_output` ADD PRIMARY KEY (`local_data_id`, `rrd_name`, `time`) USING BTREE; but received the following error message: ERROR 1064 (42000): 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 'USING BTREE' at line 1 I'm looking at the manual for the ATLER TABLE syntax, and the statement looks correct. I'm using the following version of MySQL: Server version: 5.0.51a-24+lenny5 (Debian). All the other SQL statements succeeded. Can anyone shed some light as to why that one did not? Regards, Mark This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message. Thank you. -------------------- This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message. Thank you. -------------------- This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message. Thank you. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev