gpt4 book ai didi

mysql - 导入数据库时​​如何修复此错误?

转载 作者:行者123 更新时间:2023-11-29 06:04:59 26 4
gpt4 key购买 nike

CREATE TABLE `oc_appconfig` (
`appid` VARCHAR( 32 ) DEFAULT '' NOT NULL ,
`configkey` VARCHAR( 64 ) DEFAULT '' NOT NULL ,
`configvalue` CLOB DEFAULT NULL ,
PRIMARY KEY ( `appid` , `configkey` )
);

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 'CLOB DEFAULT NULL, PRIMARY KEY(appid, configkey))' at line 1

我该如何解决这个错误。请伙计们。我需要我的 NextCloud!

最佳答案

MySQL 没有CLOB 数据类型。使用 TEXT

See the doc

关于mysql - 导入数据库时​​如何修复此错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42276884/

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