【Springboot】yaml中写datasource时,mysql密码中包含特殊字符的解决问题

 

密码是:!root密码

则在yaml中应改为: (!root)word

 

如:yaml

username: rootpassword: (!root)
相关文章
相关标签/搜索