Home >Database >Mysql Tutorial >MYSQL中 TYPE=MyISAM 错误的解决方法_MySQL

MYSQL中 TYPE=MyISAM 错误的解决方法_MySQL

WBOY
WBOYOriginal
2016-06-01 13:06:00782browse

create 语句后面的TYPE=MyISAM

TYPE=MyISAM 和 ENGINE=MyISAM 都是设置数据库存储引擎的语句 ,(老版本的MySQL使用TYPE而不是ENGINE(例如,TYPE = MYISAM)。 MySQL 5.1为向下兼容而支持这个语法,但TYPE现在被轻视,而ENGINE是首先的用法。 一般地,ENGINE 选项是不必要的;除非默认已经被改变了,MyISAM是默认存储引擎。

所以直接将原来TYPE=MyISAM 改成ENGINE=MyISAM 就可以了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn