Are your web server and your database on the same machine? If not,
that's why it's not working in an applet, but is working in an application.
At 10:26 AM 4/28/99 -0700, James Doucette wrote:
>
>
>I'm building an applet that accesses a MySQL database running on Solaris
>(Unix)...... The applet is destined to perform an insert entry for a
>database (i.e. form).... when I begin the applet I initialize the
>database connection.... Unfortunately, the database connection doesn't
>seem to be well, connecting.... I'm receiving a message 'Can't connect to
>MySql Server at this machine/port'.... I have implemented the necessary
>code (I'm quite certain).... is there anything else I should be doing on
>the server side to allow a connection for an applet to work...
>
>P.S. it's working for a simple Java Application????
>
>
>
>---------------------------------------------------------------------
>Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
>posting. To request this thread, e-mail java-thread65@stripped
>
>To unsubscribe, send a message to the address shown in the
>List-Unsubscribe header of this message. If you cannot see it,
>e-mail java-unsubscribe@stripped instead.
>
>
>