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 的大作中提到】
: 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 的大作中提到】
: How to load DriverManager to JDBC?
: Thanks.
相关阅读
quick question【紧急求助】SQL数据导出windows exchange server的数据怎么倒倒别的数据库?问个优化的问题t-sql chanllege 20Late afternoon 腦不好使mysql mapping and insert question菜菜鸟请教:大家都用什么备份啊?SERVER/CLIENT系统,server数据大约200GB怎么写这个query呢?求电脑高人找回硬盘数据70-431考试只有选择题吗?求教:怎么在select 出的结果里加一行SQL 200x Decrypt credential info?這個 Storage 好象很牛 (转载)MS ACCESS有考试证书吗?在MS ACCESS中,如果设置一个“编号”栏目,要求格式是“当前年份-当前月份-自动顺序号”,在FORM中如何设置FORMAT? 谢谢各位大侠。。excel采集数据做出的曲线,怎么找出PEAK点,谢谢!!!学会SQL自然就会mySQL吗?Data Manager for Clinical Trial扯扯Senior SQL Server DBA咋整 (2)