![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
Hello_my_new_world
这个作者很懒,什么都没留下…
展开
-
错误:Error Code: 1366. Incorrect string value: '\xE5\xBA\xB7' for column 'category_name' at row 1
插入一条数据时:insert into todolist.category_table values(null,"康")出现报错:Error Code: 1366. Incorrect string value: '\xE5\xBA\xB7' for column 'category_name' at row 1插入数据为英文时不报错。原因:编码格式不对应。解决:ALTER TAB...原创 2020-03-27 22:50:55 · 680 阅读 · 0 评论 -
安装MySQL时出现MySQL the error code is 2503/2502错误
安装MySQL时,一直显示MySQL the error code is 2503,之后查了很多前辈写的这方面的问题的博客等,才知道主要是权限问题导致的。解决方法:win+X,找到“命令提示符(管理员)(A)”,运行,输入msiexec /package "你安装程序包的路径"(注意引号前的空格),回车,开始安装。安装MySQL workbench的时候也出现了 the error code is...原创 2018-04-09 17:31:31 · 3630 阅读 · 1 评论 -
错误You have an error in your SQL syntax; check the manual that corresponds to your MySQL
查询数据库数据表的时候,一个简单的sql查询语句,可是一直报错:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the ...原创 2018-06-17 21:53:32 · 5307 阅读 · 0 评论