Java连接mysql(Eclipse中)
摘要:
import java.sql.*;public class mySqlConnection { public void show() { String url = "jdbc:mysql://localhost:3306/test"; String username = "root"; String password = "123456"; Connection connection; Stat... 阅读全文
posted @ 2009-05-10 15:56 terancs 阅读(777) 评论(0) 推荐(0) 编辑