- 博客(3)
- 收藏
- 关注
原创 【无标题】Springboot整合influxdb2.0
首先为了方便本地测试,可以选择下载window版的influxdb,我在官网下载的是influxdb2-2.0.9-windows-amd64.zip。然后在解压,在该文件夹下cmd进入命令窗口,用命令 influxd.exe回车就启动了。访问http://localhost:8086/就能看到界面了。influxdb2.0和1.x的区别很大,pom中引入: <dependency> <groupId>com.influxdb</gro.
2021-11-18 16:39:39
3373
2
原创 写文件
写入文件public static void writeFile(String filePath, String str) {FileOutputStream fos = null;OutputStreamWriter os = null;File f= null; try { File file = new File(filePath); f = file.getParentFile(); if (null != f&& !f
2020-12-03 09:26:24
465
原创 springboot整合jpa通过jdbc连接数据库不能自动建表(新手问题)
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 (via the serverTimezone conf...
2018-12-04 10:00:03
319
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人