How to connect MySQL database of local server in NetBeans 7.0.1 ( windows)?

Posted by diEcho on Server Fault See other posts from Server Fault or by diEcho
Published on 2011-11-23T05:59:54Z Indexed on 2011/11/23 9:54 UTC
Read the original article Hit count: 238

Hello All,
I am using NetBeans IDE 7.0.1 on Windows 7 very first time for my php. Actually in my company there is a local server ( 192.168.1.99) where all projects resides and we access phpmyadmin of that local server, Although I have added my project folders with NetBeans (this was also very hectic) but now I am having problem to connect database of my local server as I can see 192.168.1.99/phpmyadmin through my browser.
I have set below value

Server Host : localhost,
Server port number : 3306,
Administrator username : keshav
Administrator password : ******

and when i click on connect, a popup error windows appears with below text

Unable to connect to the MySQL server:

org.netbeans.api.db.explorer.DatabaseException:  
org.netbeans.api.db.explorer.DatabaseException: java.sql.SQLException: Access denied  
for user 'keshav'@'localhost' (using password: YES).

The server may not be running or your MySQL connection properties 
may not be set correctly.  Do you want to edit your MySQL connection properties?

Please help me out.
Thanks

© Server Fault or respective owner

Related posts about mysql

Related posts about windows-7