LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   Win 7 - Tomcat unable connect to MySQL (https://www.linuxquestions.org/questions/general-10/win-7-tomcat-unable-connect-to-mysql-938441/)

mlnm 04-06-2012 04:00 AM

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......

linuxlover.chaitanya 04-12-2012 02:48 AM

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.

mlnm 04-13-2012 09:16 AM

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..


All times are GMT -5. The time now is 10:56 PM.