JDBC Username problem

Hello

When I try to connect to a remote mysql database, the user I've specified is replaced with "username@xx.xx.xx.xx" (Where xx.xx.xx.xx is my ip), and so I cannot connect to the database. Here's the connection string

connectionHandle = DriverManager.getConnection("jdbc:mysql://dbhost.net/dbname?useUnicode=true","user", "pass");

Any ideas?

Thanks!

[384 byte] By [Glammya] at [2007-10-2 14:16:39]
# 1
You can try connectionHandle = DriverManager.getConnection("jdbc:mysql://dbhost.net/dbname?user=aUserNameroot&password=aPasswd&useUnicode=true");
zhaoyha at 2007-7-13 12:32:57 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...