How to set empty string as password for MYSQL database in properties file.
问题 My question is how do I set empty string as password for mysql database in properties file? The password for MySql database is an empty string. I tried leaving the right hand side empty like this jdbc.password= in my application.properties file but I get the following exception: org.hibernate.exception.GenericJDBCException: Could not open connection Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost'