DEV/Vote.java

20 lines
471 B
Java
Raw Permalink Normal View History

2023-09-20 11:29:37 +02:00
import java.awt.*;
import java.sql.*;
public class Vote{
public static void main(String[] args) {
try{
Class.forName("org.mariadb.jdbc.Driver");
try{
Connection cnx = new DriverManager.getConnection("jdbc:mariadb://dwarves.arda.lan/pourchot","pourchot","A1B2C3");
try{
PreparedStatement ps=cnx.prepareStatement("SELECT (");
}catch(SQLException){
cnx.close();
}
}catch(SQLException){
}
}catch(ClassNotFoundException){
}
}
}