tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Re: using a MySQL remote database
Date Tue, 08 Apr 2003 09:11:28 GMT
Ok, i followed both the tips by Greg and this one in the email at the bottom
of this email ( :) ),
but with no success.
I did exactly what the README (containbed in the MySQL connector archive)

snip from the README file:
  "My application throws a SQLException 'No Suitable Driver'".
  One of two things are happening. Either the driver is not in
  your CLASSPATH (see the "USAGE AND INSTALLATION" section above), or your
  URL format is incoorect (once again see "USAGE AND INSTALLATION").

Eh, that error above is the error i got!
Although I installed correctly the connector for MySQL in TomCat, im still
getting the errors above. Reading again the USAGE AND INSTALLATION will not
help me.

Finally I tryed to copy the jar containing the MySQL connector every where
in the "lib"s dirs, i also had extracted the class files contained in that
.jar in all the "classes" dirs, and still getting those error :|

Any help? Or Any other way to connect to a MySQL server? Notice that using
others servlet containers like Orion it works perfectly :o

Da: "dwightHugget" <>
A: "Tomcat Users List" <>; <>
Data invio: domenica 6 aprile 2003 23.15
Oggetto: Re: using a MySQL remote database

On Sunday 06 April 2003 10:43, professed:
> Hello,
> I would like to use a remote MySQL database. I already used that with
> with no problem, but with Tomcat i cant. I added the mmsql.jar file into
> shared/lib but accessing the database (using
>  DriverManager.getConnection ("jdbc:mysql://",
> username, password); ), i get always the error:
> SQLEXCEPTION = No suitable driver
> SQLSTATE = 08001
> Any help?
> luca
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
Dwight Hugget

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message