Update database credentials

This commit is contained in:
P0nk
2021-04-02 13:52:44 +02:00
parent 5d75f4a53a
commit 2873d0d031
20 changed files with 40 additions and 40 deletions

View File

@@ -163,8 +163,8 @@ server:
#Database Configuration
DB_URL: "jdbc:mysql://localhost:3306/cosmic"
DB_USER: "snail"
DB_PASS: "shell"
DB_USER: "cosmic_server"
DB_PASS: "snailshell"
DB_CONNECTION_POOL: true #Installs a connection pool to hub DB connections. Set false to default.
#Login Configuration

View File

@@ -10,8 +10,8 @@ import java.sql.SQLException;
*/
public class DatabaseConnection {
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
private static String DB_USER = "snail";
private static String DB_PASS = "shell";
private static String DB_USER = "cosmic_server";
private static String DB_PASS = "snailshell";
public static final int RETURN_GENERATED_KEYS = 1;

View File

@@ -10,8 +10,8 @@ import java.sql.SQLException;
*/
public class DatabaseConnection {
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
private static String DB_USER = "snail";
private static String DB_PASS = "shell";
private static String DB_USER = "cosmic_server";
private static String DB_PASS = "snailshell";
public static final int RETURN_GENERATED_KEYS = 1;

View File

@@ -50,8 +50,8 @@ import tools.Pair;
public class MapleCashDropFetcher {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static String wzPath = "../../wz";

View File

@@ -10,8 +10,8 @@ import java.sql.SQLException;
*/
public class DatabaseConnection {
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
private static String DB_USER = "snail";
private static String DB_PASS = "shell";
private static String DB_USER = "cosmic_server";
private static String DB_PASS = "snailshell";
public static final int RETURN_GENERATED_KEYS = 1;

View File

@@ -47,8 +47,8 @@ import java.sql.Statement;
public class MapleCodeCouponGenerator {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static Connection con = null;
static InputStreamReader fileReader = null;

View File

@@ -37,8 +37,8 @@ import java.sql.SQLException;
public class MapleCouponInstaller {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static Connection con = null;
static InputStreamReader fileReader = null;

View File

@@ -57,8 +57,8 @@ public class MapleGachaponItemidRetriever {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static Connection con = null;
static InputStreamReader fileReader = null;

View File

@@ -50,8 +50,8 @@ public class MapleIdRetriever {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static Connection con = null;
static InputStreamReader fileReader = null;

View File

@@ -50,8 +50,8 @@ import java.util.Set;
public class MapleNoItemIdFetcher {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static String wzPath = "../../wz";
static String newFile = "lib/result.txt";

View File

@@ -10,8 +10,8 @@ import java.sql.SQLException;
*/
public class DatabaseConnection {
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
private static String DB_USER = "snail";
private static String DB_PASS = "shell";
private static String DB_USER = "cosmic_server";
private static String DB_PASS = "snailshell";
public static final int RETURN_GENERATED_KEYS = 1;

View File

@@ -10,8 +10,8 @@ import java.sql.SQLException;
*/
public class DatabaseConnection {
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
private static String DB_USER = "snail";
private static String DB_PASS = "shell";
private static String DB_USER = "cosmic_server";
private static String DB_PASS = "snailshell";
public static final int RETURN_GENERATED_KEYS = 1;

View File

@@ -38,8 +38,8 @@ import java.io.*;
public class MapleMobBookIndexer {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static String fileName = "lib/MonsterBook.img.xml";

View File

@@ -48,8 +48,8 @@ import java.io.*;
public class MapleMobBookUpdate {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static String fileName = "lib/MonsterBook.img.xml";
static String newFile = "lib/MonsterBook_updated.img.xml";

View File

@@ -67,8 +67,8 @@ public class MapleQuestItemFetcher {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static String wzPath = "../../wz";
static String directoryName = "../..";

View File

@@ -10,8 +10,8 @@ import java.sql.SQLException;
*/
public class DatabaseConnection {
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
private static String DB_USER = "snail";
private static String DB_PASS = "shell";
private static String DB_USER = "cosmic_server";
private static String DB_PASS = "snailshell";
public static final int RETURN_GENERATED_KEYS = 1;

View File

@@ -46,8 +46,8 @@ import java.io.File;
public class MapleReactorDropFetcher {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static String reactorScriptPath = "../../scripts/reactor";

View File

@@ -38,8 +38,8 @@ import java.io.*;
public class MapleSkillMakerFetcher {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static String fileName = "../../wz/Etc.wz/ItemMake.img.xml";
static String newFile = "lib/MakerData.sql";

View File

@@ -42,8 +42,8 @@ import java.util.List;
public class MapleSkillMakerReagentIndexer {
static String host = "jdbc:mysql://localhost:3306/cosmic";
static String driver = "com.mysql.jdbc.Driver";
static String username = "snail";
static String password = "shell";
static String username = "cosmic_server";
static String password = "snailshell";
static String fileName = "../../wz/Item.wz/Etc/0425.img.xml";
static String newFile = "lib/MakerReagentData.sql";

View File

@@ -10,8 +10,8 @@ import java.sql.SQLException;
*/
public class DatabaseConnection {
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
private static String DB_USER = "snail";
private static String DB_PASS = "shell";
private static String DB_USER = "cosmic_server";
private static String DB_PASS = "snailshell";
public static final int RETURN_GENERATED_KEYS = 1;