Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?
share|improve this question

closed as off topic by John Gardeniers, Sven, Hubert Kario, Magellan, Michael Hampton Jan 12 '13 at 20:09

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

You turn off the firewall or create rule that allow traffic through 3306 port, or test your connection using command telnet localhost 3306. Try instead of localhost write 127.0.0.1.

share|improve this answer

fisrt you hv to insatll mysql-server and mysql-client in ubuntu. so go in the terminal and write this code. but in the root.. connect your pc to the internet and try this "apt-get update" then wait for a couple of minutes then write this when the updates completes "apt-get install mysql-server mysql-client" press Enter and if ask anything then say yes.. it will be install in few minutes. and ask password then enter ur password.. then download mysql query browser and mysql administrative tool from ubuntu software center..after u can use..

share|improve this answer
1  
I tried to edit this into something readable but it's such a mess that I gave up. Please use proper words, capitalisation and punctuation. You might also consider using a spell checker. –  John Gardeniers Jan 12 '13 at 7:45
    
I was able to decipher your answer, but really you're just telling them (poorly) how to install MySQL and I don't really see at all how this helps the op. –  Mark Henderson Jan 12 '13 at 8:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.