MySQL
sperospera
这个作者很懒,什么都没留下…
展开
-
mysql 连接出现时间错误
Exception in thread "main" java.sql.SQLException: The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (...原创 2019-01-02 18:12:36 · 359 阅读 · 0 评论 -
Web 项目sql 配置遇到的异常
1.Could not find the main class ,program will exit 。出现此问题时,可能是sql 配置文件,路径不对,先检查路径是否如下配置src/jdbc.properties。如正确配置路径,未解决问题,然后再查看jre,和build path,配置正确的版本才可。2.Unsupported major.minor version 52.0 出现如此提示,...原创 2019-01-14 19:53:05 · 331 阅读 · 0 评论 -
MySQL实现pivot行转列
1.创建表:Create Table CREATETABLE`pivot`( `id`int(11)NOTNULLAUTO_INCREMENT, `salary`doubleNOTNULL, `year`varchar(4)NOTNULL, `name`varchar(10)NOTNULL, PRI...原创 2019-04-11 00:28:43 · 21477 阅读 · 9 评论