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
("jdbc:mysql://localhost:3306/test","root","root");
return conn;
}
...
-Original Message-
From: Scott D. Spiegler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 6:37 PM
To: [EMAIL PROTECTED]
Subject: Unable to Progra
-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
t; A: [EMAIL PROTECTED]
> Oggetto: 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 be. I am
> using this statement:
>
> conn =
>
> DriverManager.getConnection
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 message:
database_test.DBConnector
S