[Experimental] Enable paranoid to hide MySQL details

This commit is contained in:
games647
2020-05-13 21:27:53 +02:00
parent c3f6881e4b
commit c1dc69845e

View File

@ -68,6 +68,10 @@ public class AuthStorage {
// prefer encrypted if possible
config.addDataSourceProperty("sslMode", "PREFERRED");
// adding paranoid hides hostname, username, version and so
// could be useful for hiding server details
config.addDataSourceProperty("paranoid", "true");
// enable MySQL specific optimizations
// disabled by default - will return the same prepared statement instance
config.addDataSourceProperty("cachePrepStmts", true);