- Copy the MySQL jdbc driver (jar file) in Glassfish lib directory and restart Glassfish
- In the glassfish administration console (site) go to Resources\JDBC\JDBC ConnectionPools
- Create a new pool of type javax.sql.DataSource and choose MySQL as the database vendor
- Fill in: server, user, password, database and, very important, check the URL to contain the database name (for some reason or under some circumstances it is not correctly filled in)
- Try Ping, should be successfull
- Now create the jdbc Resource, etc
Monday, April 8, 2013
Configure MySQL jdbc resource
Location:
New York, NY, USA
Subscribe to:
Post Comments
(
Atom
)
Thanks for sharing MySQL JDBC configuration.
ReplyDeleteVisual Foxpro Migration and Foxpro Migration