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.
相关阅读
Re: 一个oracle的DB暴露了索男为什么混不上去 (转载)大家觉得PL/SQL对做JAVAMysql无法远程连接,求助【工作机会】SQL DBA转Oracle DBA,求建议这个cassandra paging的解决方案怎么样? (转载)如何学好database theory?oracle 数据库有啥好的材料INSERT data 到一个有primary key 的 table中,咋解决?SQL SERVER Query Help有谁做过自定义地图Floor Plan的热点图么- indoor HeatmapSQL fast search in a 10 million records table (转载)免费讲座: JSON in SQL2016 (转载)Re: 安心家庭厨房本周六开始为您送饭 (转载)请大家推荐一个3-5天的MySQL培训班请教一个SQLzoo上的题目MySQL 好像有很多小问题请教 sql 表操作老土课程教换 (非广告贴):data warehouse, ETL方面工作和一般software eng比