Web Hosting - WestHost Web Hosting

Go Back   WestHost Community Forums > Web Hosting > Solutions

Reply
 
Thread Tools Display Modes
Old 02-23-2009, 09:55 AM   #1
benjo4u
Junior Member
 
Join Date: Dec 2008
Posts: 18
Default Java Tomcat 6 and mysql connector j

I figured out out to get Java Tomcat 6.0.18 and mysql connector j 5.1.7.

I shutdown tomcat and put the mysql j connector jar in the apache-tomcat-6.0.18/lib folder

I edited /etc/my.cnf to set the bind address to 127.0.0.1 and commented out skip networking now it works

I was giving pool resources errors before that or nested sql exception. you can test if this is an issue with I think

mysql -h 127.0.0.1 -u root -p

Now i can run my java programs that require mysql
benjo4u is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:53 PM.

- Archive - Top

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.