LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 04-06-2012, 04:00 AM   #1
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Rep: Reputation: Disabled
Win 7 - Tomcat unable connect to MySQL


I have a project in server and i downloaded it to my local machine through svn plugin in eclipse and build it through ANT.I also have Mysql 5.5 version and i created corresponding database in it.Also i have installed tomcat 5.5 in local machine and deployed war file in webapps.when i try to connect to a user in the Mysql database from tomcat,it shows upto username and password but,after providing credentials,it says access to Mysql database denied.
details:
Operating system: win 7
eclipse ver:5.5
tomcat ver:5.5
Mysql ver :5.5
JDBC ver:1.5
(all are in my local win7 machine only)
thanks in advance......
 
Old 04-12-2012, 02:48 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Did you check the credentials? Are those correct? Check the mysql logs. Check what credentials you are using and if that user is allowed to access the database you want to.
 
Old 04-13-2012, 09:16 AM   #3
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
sorry that i am late in reply , ya my problem was sorted out,the project folder which i chekced out from svn was having errors in it,i tried a new project and it worked out,thanks for ur reply..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to connect PHP to MySQL? armsman Linux - Software 1 09-14-2011 09:13 PM
unable to connect to mysql djib Linux - Software 7 03-08-2007 09:03 PM
mysql 4.0.20 CLIENT unable to connect. fritz001 Linux - Networking 5 12-23-2004 05:48 AM
Unable to connect to RH9 server from Win XP clients gavinc Linux - Networking 0 08-19-2003 08:15 AM
Stopping Tomcat causes java.net.ConnectException and also unable to connect to 8080 simonh Linux - Software 3 07-21-2003 04:49 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 04:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration