What's wrong
Posted by:
peter lee
Date: July 11, 2005 12:11AM
i can connect mysql by php program, but use MT 1.0.10, show an error when test connection to target database system.
Message Log:
Connection jdbc:mysql://localhost:3306/?user=admin&password=123456&useServerPrepStmts=false
The connection to the target database could not be established (error: 0).
Access denied for user 'admin'@'localhost' (using password: YES)
Details:
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2921)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:770)
com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3641)
com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1175)
com.mysql.jdbc.Connection.createNewIO(Connection.java:2544)
com.mysql.jdbc.Connection.<init>(Connection.java:1474)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)
java.sql.DriverManager.getConnection(Unknown Source)
java.sql.DriverManager.getConnection(Unknown Source)
com.mysql.grt.modules.ReverseEngineeringGeneric.establishConnection(Unknown Source)
com.mysql.grt.modules.ReverseEngineeringMysqlJdbc.testConnection(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.mysql.grt.Grt.callModuleFunction(Unknown Source)
Subject
Written By
Posted
What's wrong
July 11, 2005 12:11AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.