check the manual that corresponds to your MySQL server version for the right syntax to use near 'create_user, create_time
时间: 2023-08-28 17:22:40 浏览: 44
这个错误是由于SQL语法错误导致的。根据引用,错误信息指出你在SQL语句中有一个语法错误,具体是在'create_user, create_time'附近。为了解决这个问题,你可以查看你使用的MySQL服务器版本的官方手册,以找到正确的语法。根据引用,在MySQL5.6的参考手册中,只有一个外部关键约束可以使用CONSTRAINT来定义外键约束,并给外键约束赋予别名。所以,你可以尝试将CONSTRAINT去掉,只保留CHECK短语,并按照正确的语法重新编写CREATE TABLE语句。至于你不能给完整性约束条件命名的问题,根据引用,这可能是因为你使用的MySQL版本较低(MySQL5.1)所导致的。因此,升级到较新的MySQL版本可能会解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [check the manual that corresponds to your MySQL server version for the right syntax to use near](https://blog.csdn.net/cdliker/article/details/106815722)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [check the manual that corresponds to your MySQL server version for the right syntax to use near解决...](https://blog.csdn.net/qq_42900286/article/details/106108616)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)