c*x
2 楼
what's your question? if you want to load a special JDBC driver and
connect to a database, you can try like below(you need modify the driver
name and location of DB accordingly)
Class.forName("my.sql.Driver").newInstance();
Connection connect =
DriverManager.getConnection("jdbc:mysql://hostname/dbname","yourlogin","yourpa
ssword");
【在 u*s 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: How to load DriverManager to JDBC?
: Thanks.
connect to a database, you can try like below(you need modify the driver
name and location of DB accordingly)
Class.forName("my.sql.Driver").newInstance();
Connection connect =
DriverManager.getConnection("jdbc:mysql://hostname/dbname","yourlogin","yourpa
ssword");
【在 u*s 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: How to load DriverManager to JDBC?
: Thanks.
相关阅读
找到一个偷懒的办法,不知道是不是可行请推荐关于PHP和mySQL实现小database的网站。Does VB works with Oracleintroduce some sql/plus books to me bah!求救:为什么Run mysql Under Win98时出错??mySQLquestion求救!!! 一个oracl的问题淀Re: SQL Server restore(transferred from other DB) error... HELP!db2 default passwordmysql Linux installation problemRe: 用Servlet显示数据库里的数据,分页的? (答案在这里)help and questions傻问题. 瘟98里面sql server的服务器端可以运行吗?用Servlet显示数据库里的数据,分页的? (很实际的问题)[转载] helpmySQL怎么这么慢?怎样实现WWW Client的安全登录?recursive sql?Re: ODBC API header file