Scott D. Spiegler said:
> I am trying to programatically connect to my DB, but I
> am not sure what the connection string should be. I am
> using this statement:
>
> conn =
>
> DriverManager.getConnection("jdbc:mysql://localhost/test?user=scott&password=cuatro");
>
> I am getting this exception me
Hi Scott,
You must register the driver first. Example :
import com.mysql.jdbc.Driver;
...
public Connection getConnection () throws SQLException {
DriverManager.registerDriver (new Driver());
Connection conn = DriverManager.getConnection
(
-Original Message-
From: Scott D. Spiegler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 11:37 AM
To: [EMAIL PROTECTED]
Subject: Unable to Programatically Create DB Connection
> I am trying to programatically connect to my DB, but I am not sure
what
> the connection string should