error 1064 , install cacti 0.8.7 pada mysql 5.5 (debian)

ketika melakukan instalasi cacti 0.8.7 pada mysql-server-5.5, anda kemungkinan besar akan menemui error:

ERROR 1064 (42000) at line 5: 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 'TYPE=MyISAM' at line 6

untuk mengatasi hal ini, maka dapat melalui langkah – langkah sebagai berikut:

1. buka directory /usr/share/doc/cacti/
2. buka file cacti.sql.gz dengan command gunzip cacti.sql.gz
3. buka file cacti.sql kemudian ganti semua string TYPE= menjadi ENGINE=
4.buat 1 database baru kemudian dump cacti.sql ke database tersebut
5. ignore auto configure database, lanjutkan saja dan kemudian instalasi cacti sudah bisa dilanjutkan secara normal

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>