Hi,
   I am new to MySql.
i have  server runnng  mysql-3.23.37-win under Windows NT
i am using mm.mysql-2.0.4-bin JDBC driver to connect to mysql
server.

i am able to connect to mysql server from java program run on
the same pc with host as  'localhost' or '127.0.0.1'.

the ip address of the pc running mysql server is 192.168.9.50
if i use host as : 192.168.9.50 in the same java program from
the same pc i get the following error:
Exception in thread "main" java.sql.SQLException: Invalid authorization
specification: Access denied for user: '[EMAIL PROTECTED]' (Using
password: YES)
        at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:330)
        at org.gjt.mm.mysql.Connection.connectionInit(Connection.java:261)
        at
org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Connection.java:89)
        at org.gjt.mm.mysql.Driver.connect(Driver.java:167)
        at java.sql.DriverManager.getConnection(DriverManager.java:517)
        at java.sql.DriverManager.getConnection(DriverManager.java:199)

Kindly Advice.
Thanks
Damnish


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