常用数据库JDBC连接写法
摘要:
1. MySQL(http://www.mysql.com)mm.mysql-2.0.2-bin.jarClass.forName( "org.gjt.mm.mysql.Driver" );cn = DriverManager.getConnection( "jdbc:mysql://MyDbComputerNameOrIP:3306/myDatabaseName", sUsr, sPwd ); ... 阅读全文
posted @ 2004-11-08 14:03 hone 阅读(548) 评论(0) 推荐(0) 编辑