20 lines
471 B
Java
20 lines
471 B
Java
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){
|
|
}
|
|
}
|
|
} |