how to connect to the mysql database using applet from remote PC

Hii All..

I am also facing a problem.

My web server and mysql server are running on the same PC.

when i connect to the database from the same PC.

Its connection but when i am trying to connect to the database from the different PC its giving error and not finding the driver "com.mysql.jdbc.Driver" because this is there on the server PC and applet runs on the client side..

So to load the deriver on the client side so that it can run the applet to make the database connection on the remote PC.

Thanks

Uttam

[558 byte] By [uttam_virusa] at [2007-11-27 9:53:10]
# 1

That is because your MySQL driver is not set in the classpath. The virtual machine has no idea where to find the driver.

Try adding the relative path to the MySQL driver in your applet tag, e.g.:

<APPLET archives="mysql-connector-java-5.0.3-bin.jar,myProgram.jar" codebase="classes" code="Something.class" width=640 height=480></APPLET>

kmangolda at 2007-7-13 0:22:23 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...