mysql5.5.x 安装cacti报语法错误

无人久伴 提交于 2019-11-27 00:21:13

  安装cacti时,在导入cacti.sql 这个文件时报错:

The command "mysql -u root -p cacti < cacti.sql' gets the following 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
 

   

    原因是mysql5这后不再支持 TYPE=MyISAM  这样的语法了,改成  ENGINE=MyISAM 就可以了。

 

转载于:https://www.cnblogs.com/jmax/archive/2011/06/06/2073666.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!