skip to Main Content

Proper way to "do while" SQL in Eclipse – worked prior to SSH connection to MySQL

Class.forName("com.mysql.cj.jdbc.Driver"); Connection connection = DriverManager.getConnection( "jdbc:mysql://127.0.0.1:3306/wp_dashort", "dashort", "gt9wkk6r1TPnkgrY"); PreparedStatement ps = null; ps = connection.prepareStatement(mark_complete); System.out.println("dateset"); dateof = dateof + " 00:00"; // ps.setString(1, dateof); connection.createStatement(); ResultSet rs = ps.executeQuery(); Sheet sheet = workbook.createSheet("Security_Completions"); org.apache.poi.ss.usermodel.Row rowhead = sheet.createRow((short) 0); System.out.println("Sheet…

VIEW QUESTION
Back To Top
Search