Update MySQL.java

This commit is contained in:
LenaGmbh
2021-06-09 22:04:12 +02:00
committed by GitHub
parent 8e570581ad
commit cb3cedbbd6

View File

@@ -17,7 +17,7 @@ public class MySQL {
try try
{ {
Class.forName("com.mysql.cj.jdbc.Driver"); Class.forName("com.mysql.cj.jdbc.Driver");
createvoice_database = DriverManager.getConnection("jdbc:mysql://" + "localhost" + ":" + "3306" + "/" + "createvoice", "discordbot", "Fabi2608!=?"); createvoice_database = DriverManager.getConnection("jdbc:mysql://" + "localhost" + ":" + "3306" + "/" + "createvoice", "discordbot", "");
stmt = createvoice_database.createStatement(); stmt = createvoice_database.createStatement();
} }
catch (SQLException | ClassNotFoundException e) catch (SQLException | ClassNotFoundException e)