jdbc string wrong?
parent
a97424041c
commit
339a4dd55c
|
@ -9,7 +9,7 @@ public class QuizBackend {
|
||||||
|
|
||||||
private static final String dbUsername = Main.getCommandLineArgument(1);
|
private static final String dbUsername = Main.getCommandLineArgument(1);
|
||||||
private static final String dbPassword = Main.getCommandLineArgument(2);
|
private static final String dbPassword = Main.getCommandLineArgument(2);
|
||||||
private static final String dbName = "jdbc:mysql://localhost:3306/quizbot"; //we can make this configurable later
|
private static final String dbName = "jdbc:mariadb://localhost:3306/quizbot"; //we can make this configurable later
|
||||||
|
|
||||||
// CREATE TABLE questions(id INT(32) AUTO_INCREMENT PRIMARY KEY, question TEXT, max_score INT(8));
|
// CREATE TABLE questions(id INT(32) AUTO_INCREMENT PRIMARY KEY, question TEXT, max_score INT(8));
|
||||||
// CREATE TABLE answer_coices(id INT(32), answer VARCHAR(2048), correctness BOOLEAN);
|
// CREATE TABLE answer_coices(id INT(32), answer VARCHAR(2048), correctness BOOLEAN);
|
||||||
|
|
Loading…
Reference in New Issue