Fix sql
This commit is contained in:
@@ -35,7 +35,7 @@ public class TippligaSQLConnector {
|
||||
}
|
||||
|
||||
private TippligaSQLConnector() {
|
||||
String jdbcUrlLocalhost = "jdbc:mysql://localhost/d0144ddb" +
|
||||
String jdbcUrlLocalhost = "jdbc:mysql://localhost:3306/d0144ddb" +
|
||||
"?user=root" +
|
||||
"&password=" +
|
||||
"&useUnicode=true" +
|
||||
@@ -43,7 +43,7 @@ public class TippligaSQLConnector {
|
||||
"&useLegacyDatetimeCode=false" +
|
||||
"&serverTimezone=UTC" +
|
||||
"&allowMultiQueries=true";
|
||||
String jdbcUrlProd = "jdbc:mysql://dd16124.kasserver.com/d0144ddb" +
|
||||
String jdbcUrlProd = "jdbc:mysql://dd16124.kasserver.com:3306/d0144ddb" +
|
||||
"?user=d0144ddb" +
|
||||
"&password=TippligaWuerzb_1" +
|
||||
"&useUnicode=true" +
|
||||
|
||||
@@ -1,2 +1,11 @@
|
||||
package de.jeyp91.tippligaforum;public class TippligaSQLConnectorTest {
|
||||
package de.jeyp91.tippligaforum;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class TippligaSQLConnectorTest {
|
||||
@Test
|
||||
public void getChecksumOfPostTest() {
|
||||
TippligaSQLConnector con = TippligaSQLConnector.getInstance();
|
||||
// con.getChecksumOfPost(15, "Tippliga");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user