Solve the problem that when the application configuration file of springboot connects to the mysql database, the password has @ special characters

When there are special characters such as @ in the database password, it cannot be recognized

I read a lot of tutorials on the Internet, some added !, some added '' single quotation marks, and some added () brackets, but none of them worked. After searching for a long time, I finally found a solution

 You can recognize it by adding "" double quotes

 

Guess you like

Origin blog.csdn.net/weixin_47971206/article/details/121524305