mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-01-26 09:11:25 +01:00
Hide password on db connect.
This commit is contained in:
parent
c4374ba454
commit
53c9c0a78e
@ -16,7 +16,7 @@ public class MySQLConnector implements DatabaseConnector {
|
||||
public MySQLConnector(Plugin plugin, String hostname, int port, String database, String username, String password, boolean useSSL) {
|
||||
this.plugin = plugin;
|
||||
|
||||
System.out.println("connecting to " + hostname + " : " + port + " with " + password);
|
||||
System.out.println("connecting to " + hostname + " : " + port);
|
||||
|
||||
HikariConfig config = new HikariConfig();
|
||||
config.setJdbcUrl("jdbc:mysql://" + hostname + ":" + port + "/" + database + "?useSSL=" + useSSL);
|
||||
|
Loading…
Reference in New Issue
Block a user