由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Question to JDBC
相关主题
问个关于JDBC和MySQl的问题Cannot connect to the mysql server insid
求救,咋样架起来自己的database?Re: Web Database
QuestionODBC
What is default USERNAME and PASSWORDHelp on JDBC:ODBC SOS
MySQL: cannot connectIs that possible for Applet to access the Oracle?
Oracle8起动求助want help on RDBMS
请推荐一个在Linux上如何安装Oracle8i的站点[转载] how to set up the classpath?
问个初级问题help! 怎么insert一个多行的string
相关话题的讨论汇总
话题: jdbc话题: question话题: load话题: connect
进入Database版参与讨论
1 (共1页)
u*s
发帖数: 80
1
How to load DriverManager to JDBC?
Thanks.
c********x
发帖数: 93
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.

1 (共1页)
进入Database版参与讨论
相关主题
help! 怎么insert一个多行的stringMySQL: cannot connect
Is there any small free database support Java ?Oracle8起动求助
how to establish sun.jdbc.odbc.JdbcOdbcDriver请推荐一个在Linux上如何安装Oracle8i的站点
[转载] Whcich DB Software to Install?问个初级问题
问个关于JDBC和MySQl的问题Cannot connect to the mysql server insid
求救,咋样架起来自己的database?Re: Web Database
QuestionODBC
What is default USERNAME and PASSWORDHelp on JDBC:ODBC SOS
相关话题的讨论汇总
话题: jdbc话题: question话题: load话题: connect