The password obtained by Springboot when connecting to the database is not the password in my configuration file, which has caused my database connection to fail continuously,I am using the SQL Server database

Comment From: bclozel

Thanks for getting in touch, but it feels like this is a question that would be better suited to StackOverflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.

In this case, another properties file or an environment variable is probably changing this confirmation property. Please ask a question on StackOverflow and add a minimal sample application that people can use to reproduce the problem.

Comment From: wilkinsona

@DreamToffee, please do not open duplicate issues. You can comment on an issue after it has been closed. https://github.com/DreamToffee/springProblem.git from #41288 shows that you need to quote the password to avoid YAML's type conversion.

Comment From: DreamToffee

@wilkinsona Based on your reminder, I successfully connected to the database, which indeed was my issue. I deeply apologize for any inconvenience this may have caused you, and I greatly appreciate your assistance.