```javapackage com.atguigu.security.config;import javax.sql.DataSource;import org.springframework.beans.factory.annotation.Autowired;import org.spring... ...
分类:
编程语言 时间:
2020-04-27 09:14:11
阅读次数:
59
.yml 格式配置 # 数据库配置 datasource: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://localhost:3306/springboot?useUnicode=true&characterEncoding=u ...
分类:
编程语言 时间:
2020-04-26 19:20:10
阅读次数:
78
在Matplotlib可视化文件中定义路径。 所有对象下面的matplotlib.patches对象是Path,它支持标准的moveto,lineto,curveto命令集, 以绘制由线段和样条线组成的简单且复合的轮廓。使用Path(x,y)顶点的(N,2)数组和路径代码的N长度数组来实例化。 例如 ...
分类:
其他好文 时间:
2020-04-26 15:28:53
阅读次数:
158
原因是数据库配置错误 错误配置: #数据库配置 spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/springboot?useUnic ...
分类:
数据库 时间:
2020-04-26 12:36:21
阅读次数:
108
#准备工作 配置application.yml spring: thymeleaf: #thymeleaf cache: false datasource: #datasource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql ...
分类:
编程语言 时间:
2020-04-26 01:46:56
阅读次数:
80
一、linux數據庫備份腳本 1、数据库备份,命令如下: ./pg_dump -h localhost -p 5432 -U postgres -W -F c -b -v -f "/opt/xxx.backup" xxx 2.在数据库安装目录bin下,./psql 进入数据库,输入密码,\c xxx ...
分类:
其他好文 时间:
2020-04-26 01:21:29
阅读次数:
67
1.首先在hive中建表(尽量与mysql字段对应) 2. 将mysql中的表导出 txt格式 3.通过hadoop 上传到HDFS上 命令 hadoop dfs -put /home/hadoop/dim_station_trans_com_info.txt /user/hive/external ...
分类:
数据库 时间:
2020-04-24 18:41:58
阅读次数:
109
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 一、问题描述 *************************** ...
分类:
Web程序 时间:
2020-04-24 10:28:16
阅读次数:
97
平台 宿主机系统版本:Ubuntu 14.04.5 LTS gitlab软件版本:11.10.8-ee 验证web浏览器版本:Mozilla Firefox 68.3.0esr 安装firefox浏览器 在官网https://www.firefox.com.cn/download/ 下载Linux- ...
分类:
系统相关 时间:
2020-04-23 09:13:43
阅读次数:
83
配置事务管理器 <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="com.mysql.j ...
分类:
其他好文 时间:
2020-04-22 14:52:30
阅读次数:
53