I am trying to connect java to MySQL.when i try to connect,it shows the error message:
But i don’t know where the error is.I am using windows 7.Netbeans 6.5.1.please help.
and when i click on start:

and this opens:

what to set in this??
UPDATE:
Its strange that Derby is getting connected:


and i din’t provide any username and password.
download heidisql from follwing link
http://heidisql.googlecode.com/files/HeidiSQL_7.0_Setup.exe
and try to connect to your mysql using heidisql. If its success then use the same properties(username,password etc) in netbeans too…