Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: import java.sql.*; public class Java2MySql{ public static void main(String[] args) { String url = "jdbc:mysql://localhost:3306/"; String dbName = "myBlog"; String driver = "com.mysql.jdbc.Driver"; String userName = "root"; String password = "NoWay!"; Connection conn = null; try { Class.forName(driver); }catch (ClassNotFoundException e) { System.out.println("Where is your MySQL JDBC Driver?"); } System.out.println("MySQL […]
↧