使用jdbc實現簡單的用戶登陸

一、鏈接本地MySQL數據庫 test.javajava public static Connection getConn() { String driver = "com.mysql.jdbc.Driver"; String url = "jdbc:mysql://localhost:3306/xxx"; String username = "ro
相關文章
相關標籤/搜索