jdbc的SQL語句

                jdbc的SQL語句/第一步 加載用於鏈接數據庫的驅動程序 Class.forName("com.mysql.jdbc.Driver"); //第二步:建立與mysql數據庫的鏈接 Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/數據庫名字","帳號","密碼");
相關文章
相關標籤/搜索