i was denied access to the mysql server when i ran the java program. however, using the same password and user id i could access the database from the terminal by executing %root@localhost mysql>bin/mysql -u root -p databaseName and then entering the password indicated in the java code. really do appreciate any kind of help. thks a million Shane --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php