Problem with mysql in NetBeans 5.5
Hi everyone
i am using mysql database in linux fedora 7. i am able to start/stop the service from the terminal... how to connect to it from netbeans 5,5 IDE using a java program ..... i have installed the driver file for mysql... database url is --- jdbc:mysql://localhost:3306/test driver is ---- com.mysql.jdbc.Driver Please see the error message thta i am getting in the follownig link http://www.Photo-Host.org/view/060634error.png It is asking for username and the password....? i have got mysql installed from the fedora dvd.. i didnt give any password for it..? i tried using root username and password & even normal user passwd also .. it didnt work... Please help me to use MySQL in NetBeans 5.5 THANKS IN ADVANCE bye |
Yes, it is asking for a password.
You should follow the instructions about setting passwords on the MySQL documentation pages - see http://dev.mysql.com/doc/refman/4.1/...rivileges.html - this shows you should set up passwords for root@localhost and root@% and I suggest you also do one for root@machine_name. To be safe you should create another account that will be used for accessing your database, and do not use root. |
All times are GMT -5. The time now is 06:49 AM. |