cmd命令:
1、切换的druid-0.2.9.jar包所在目录
2、在命令行中执行如下命令:
java -cp druid-0.2.9.jar com.alibaba.druid.filter.config.ConfigTools you_password 即输出加密后密码
3、
<!-- sql统计功能就不能用 <property name="filters" value="stat" /> -->
<property name="filters" value="config" /><property name="connectionProperties" value="config.decrypt=true" />
参考https://github.com/alibaba/druid/wiki/%E4%BD%BF%E7%94%A8ConfigFilter
标签:加密,数据库,0.2,jar,druid,alibaba,com From: https://blog.51cto.com/u_16125990/6333878