gpt4 book ai didi

mysql - 错误 : Unclosed quote @ 37

转载 作者:行者123 更新时间:2023-11-29 02:29:37 25 4
gpt4 key购买 nike

查询 SELECT * FROM user WHERE username = 'Omnion' AND disable_flag = '0'

此查询在本地主机上运行良好,

上传到服务器后出现问题

Error
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unclosed quote @ 37
STR: '
SQL: SELECT * FROM user WHERE username = \'Omnion\' AND disable_flag = \'0\'
LIMIT 0, 30

SQL query:

SELECT * FROM user WHERE username = \'Omnion\' AND disable_flag = \'0\' LIMIT 0, 30

MySQL said:

#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 '\'Omnion\' AND disable_flag = \'0\'
LIMIT 0, 30' at line 1

Step 1 Step 2

请帮帮我,

谢谢

最佳答案

尝试更新 phpMyAdmin 版本,请参阅此链接:phpMyAdmin Bug

关于mysql - 错误 : Unclosed quote @ 37,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15196187/

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