Sir*_*lot 0 php mysql sql phpmyadmin
它告诉您从本教程复制并粘贴到phpMyAdmin的SQL页面的SQL文本给出了错误:
#1064 - 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
Run Code Online (Sandbox Code Playgroud)
这是脚本:
CREATE TABLE `scores` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
`name` VARCHAR(15) NOT NULL DEFAULT 'anonymous',
`score` INT(10) UNSIGNED NOT NULL DEFAULT '0'
)
TYPE=MyISAM;
Run Code Online (Sandbox Code Playgroud)
我在这里弄错了什么?
它应该是ENGINE=MyISAM
代替TYPE=MyISAM
.
归档时间: |
|
查看次数: |
1406 次 |
最近记录: |