![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
HW_870754395
这个作者很懒,什么都没留下…
展开
-
解决'ERROR 1406 (22001): Data too long for column 'name' at row 1'
解决mysql数据库遇到的1406问题出现这种问题,表面上是字段值输入有误的问题,其实是编码问题解决方法:在my.ini里找到(此文件在mysql安装目录下)sql-mode=”STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”把其中的STRICT_TRANS_TABLES,去掉,或者把sql-mode=STR...原创 2018-12-06 15:09:08 · 12347 阅读 · 4 评论 -
Exception in thread "main" java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrec
jdbc连接mysql报错Exception in thread “main” java.sql.SQLException: The server time zone value ‘Öйú±ê׼ʱ¼ä’Exception in thread "main" java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is ...原创 2019-03-12 22:00:31 · 4505 阅读 · 3 评论