java調用mysql數據庫的基本操做方法

一.  關於java與mysql數據庫的鏈接: //加載數據庫驅動 Class.forName("com.mysql.jdbc.Driver"); //獲取鏈接//http://baidu.com Connection connection =DriverManager.getConnection("jdbc:mysql://localhost:3306/shopping?use
相關文章
相關標籤/搜索