Re: Re: How to connect to mysql through JAVA?
| From: | Richard Fox | Date: | Wed, 24 Apr 2002 16:57:15 +0000 |
| Subject: | Re: Re: How to connect to mysql through JAVA? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94422@lists.php.net to get a copy of this message | ||
The last post is using the MySQL JDBC from a Java Server Page in a servlet
environment. I never tried to run this from Java imbedded in a PHP script.
You would have to remove the exception handling, at least.
I dispatch a Java Server Page from my php script (write to a socket), do
some java stuff there involving my MySQL db, and return the output to my php
script (read from socket).
I can send more details on this if you're interested.
Rich