> I am accessing mysql through Websphere 5.0 through jsp file . it says
> SQLException: Cannot connect to MySQL server on host:3306. Is there
> a MySQL server running on the machine/port you are trying to connect to?
> SQLState: 08S01
> VendorError: 0
> This exception is also listed in Your mysql driver Readme file ,
> for this is not clear.
> Since i am using same machine , and other parameters are correct , i am
> unable to find the solution
> Please get back to me with relevant solution.
Does WebSphere 5.0 implement security policies? If so, you might not
have a socket-connect security policy in your JSP.
The java.security.AccessControlException is always thrown from a
security manager. My guess is WebSphere 5.0 has a custom one or has
configured the JVM to disallow socket access. You'll have to check your
WebSphere-5.0 docs to see.
I have run the driver in WebSphere-4.0 and WebSphere-5.0 developer
edition with no issues, so it must be something related to your