I made it
      Thanks everyone especially jan and Kirthik
  
  Byfour

Jan Behrens <[EMAIL PROTECTED]> wrote:  >                  String userName = 
"root";
>                  String password = "";
>                  String URL = "jdbc:mysql://l/AdressBook";

Are you sure this is correct? You are connecting to a MySQL server at URL 
"1" and db "AdressBook" as root without a password... 

you should:
- secure MySQL root with a password
- create a new user with rights limited to db "AdressBook" and allow this 
user to connect from "%" for now
- set a password for that user
- reload user table!
- change your url to the correct server, e.g. 
"jdbc:mysql//localhost:3306/AdressBook"
- try again

HTH, jan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




                        
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

Reply via email to