[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-java
Subject: Re: No suitable driver
From: Luca Lafranchi <luca.lafranchi () rohag ! ch>
Date: 2003-10-21 7:16:24
[Download RAW message or body]
Hi :)
This Exception usually occurs when the connection string (specifically
the protocol part...) is wrong. How does yours look like? It should be
something like "jdbc:mysql://host[:port]/dbname".
Ciao
Luca
Vinicius wrote:
> I´m trying to conect my java class to my db mysql, but i get exception (No
> suitable driver).
> Does anybody know why?
> I use the driver Class.forName("com.mysql.jdbc.Driver");
>
> Thanks
>
> Vinícius
>
>
>
>
--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=mysql-java@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic