gpt4 book ai didi

脚本中的Mysql数据库错误

转载 作者:行者123 更新时间:2023-11-29 17:52:21 27 4
gpt4 key购买 nike

请帮助我解决有关我的数据库的问题,当我尝试导入数据库时​​遇到错误。

> A right parenthesis was expected (near ")" at position 282)

Database: `optima` -- -- -------------------------------------------------------- -- --

Table `zm7pa_assets`

Structure --

CREATE TABLE `zm7pa_assets` ( `id` int(10) UNSIGNED NOT NULL COMMENT 'Primary Key',
`parent_id` int(11) NOT NULL DEFAULT '0'COMMENT )

Syntaxe error near ')' at line 14.

这是表格脚本:

CREATE TABLE `zm7pa_assets` (
`id` int(10) UNSIGNED NOT NULL COMMENT 'Primary Key',
`parent_id` int(11) NOT NULL DEFAULT '0'COMMENT
) ;

最佳答案

试试这个。删除评论,因为没有评论:D

CREATE TABLE zm7pa_assets ( 
id int(10) UNSIGNED NOT NULL COMMENT 'Primary Key',
parent_id int(11) NOT NULL DEFAULT '0'
);

关于脚本中的Mysql数据库错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49201985/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com