jdbc string wrong?

master
BodgeMaster 2022-02-21 12:50:51 +01:00
parent a97424041c
commit 339a4dd55c
1 changed files with 1 additions and 1 deletions

View File

@ -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);