C
Chow
Hi,
I am trying to deploy a web-app using Tomcat which has simple Java
beans using JDBC driver for mysql. I was able to use the same
application source code earlier and everything use to work fine. But
recently i upgraded my Redhat Linux fro 7.2 to 9.0. And ever since I
am not able to connect to my mysql server via JDBC drivers and also i
tried using PHP but no luck. I checked using netstat -a command and
saw that mysql is listening on a TCP port. And I checked for it in
process list also it looks fine there.
I am able to log into the sql command line tool and perform all the
sql tasks as usual. I am absolutely not sure what is going on with
connection to the database.
When I try using a standalone JDBC Java client, i get an error
saying "Could not establish connection to
JDBC:MYSQL://localhost:3306/test?username=user,password=pass"
I also checked the classpath and there is JAR file in the
environment variables.
Any help with this issue will be greatly appreciated. Thanks in
advance.
Regards,
Srinivasa.
I am trying to deploy a web-app using Tomcat which has simple Java
beans using JDBC driver for mysql. I was able to use the same
application source code earlier and everything use to work fine. But
recently i upgraded my Redhat Linux fro 7.2 to 9.0. And ever since I
am not able to connect to my mysql server via JDBC drivers and also i
tried using PHP but no luck. I checked using netstat -a command and
saw that mysql is listening on a TCP port. And I checked for it in
process list also it looks fine there.
I am able to log into the sql command line tool and perform all the
sql tasks as usual. I am absolutely not sure what is going on with
connection to the database.
When I try using a standalone JDBC Java client, i get an error
saying "Could not establish connection to
JDBC:MYSQL://localhost:3306/test?username=user,password=pass"
I also checked the classpath and there is JAR file in the
environment variables.
Any help with this issue will be greatly appreciated. Thanks in
advance.
Regards,
Srinivasa.