Hi,

I have an applet which is suppose to display data from a MySQL database
to the web browser. This applet works fine with appletviewer but when I
run it in a browser it gives an error;

"Java.Sql.SQLException: cannot connect to mysql server on
localhost:3306. Is there a mysql server running.............."

I use the following class and connection string:
String url = "jdbc:mysql://localhost/dbname";
Class.forName("org.gjt.mm.mysql.Driver").newInstance();

I load the MySQL server by C:\mysql\bin\mysqld.

Any help would be appreciated.

Thank you

Abjin


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to