Start working on storage providers.
This commit is contained in:
@@ -238,4 +238,19 @@ public class Config {
|
||||
FEED_BY_OTHER = config.getString("messages.command.feed.feed-by-other", FEED_BY_OTHER);
|
||||
}
|
||||
|
||||
public static String MYSQL_IP = "localhost";
|
||||
public static String MYSQL_PORT = "3306";
|
||||
public static String MYSQL_DATABASE_NAME = "essentia";
|
||||
public static String MYSQL_USERNAME = "root";
|
||||
public static String MYSQL_PASSWORD = "root";
|
||||
public static int MYSQL_CONNECTIONS = 10;
|
||||
public static int MYSQL_QUEUE_DELAY = 5;
|
||||
private static void storage() {
|
||||
MYSQL_IP = config.getString("storage.mysql.ip", MYSQL_IP);
|
||||
MYSQL_PORT = config.getString("storage.mysql.port", MYSQL_PORT);
|
||||
MYSQL_DATABASE_NAME = config.getString("storage.mysql.database", MYSQL_DATABASE_NAME);
|
||||
MYSQL_USERNAME = config.getString("storage.mysql.username", MYSQL_USERNAME);
|
||||
MYSQL_PASSWORD = config.getString("storage.mysql.password", MYSQL_PASSWORD);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user