Re: Retrieving data from mysql to an applet

1999-12-10 Thread Nicholas Wright
Hi It's *probably* due to Netscape thinking that "localhost" is the host the browser is running on. Try using "getCodeBase().getHost()" instead. Nicholas > I have an applet which is suppose to display data from a MySQL database > to the web browser. This applet works fine with appletviewer bu

Retrieving data from mysql to an applet

1999-12-10 Thread AMH
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