|
|
@ -7,7 +7,7 @@ import java.sql.ResultSet;
|
|
|
|
import java.sql.SQLException;
|
|
|
|
import java.sql.SQLException;
|
|
|
|
|
|
|
|
|
|
|
|
public class Base {
|
|
|
|
public class Base {
|
|
|
|
private static String driver = "com.mysql.cj.jdbc.Driver";
|
|
|
|
private static String driver = "com.mysql.jdbc.Driver";
|
|
|
|
private static String url = "jdbc:mysql://localhost:3306/library?&useSSL=false&serverTimezone=UTC&userUnicode=true&characterEncoding=UTF-8";
|
|
|
|
private static String url = "jdbc:mysql://localhost:3306/library?&useSSL=false&serverTimezone=UTC&userUnicode=true&characterEncoding=UTF-8";
|
|
|
|
private static String username = "root";
|
|
|
|
private static String username = "root";
|
|
|
|
private static String password = "root";
|
|
|
|
private static String password = "root";
|
|
|
|