Hi, all:

I meet a problem on HPUX. When I try to connect to
MySQL with JDBC on HPUX. I connect to
jdbc:mysql://localhost:3306/mysql with "root", it
failed.

But it works before. Someone told me that it is
becuase of some changes of DNS. When I connect to
MySQL, MySQL translate "root" to
"[EMAIL PROTECTED]", but MySQL don't have this
user. Same thing happens if I connect to MySQL with
hostname or full qualified-name. If I change the user
table "root@hostname" to "root@full-qualified-name",
then connect with either "hostname" or
"full-qualified-name", everything is fine.

But I want my application to be easy to install by
customer. Do anyone have any suggestion how to fix
this problem?

thanks!

Zengfa

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

---------------------------------------------------------------------
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

Reply via email to