From: Daryl S. <dar...@op...> - 2015-09-01 12:19:53
|
On Tue, Sep 1, 2015 at 3:21 AM, 徐广林 <cal...@13...> wrote: > Ip 10.88.4.177 is my localhost address,10.88.34.89 is my database > address; It is weired that HouseKeeperController access my localhost > address,not access the database address. > > Why?please help me ,thanks! > > > java.sql.SQLException: Access denied for user 'root'@'*10.88.4.177*' > (using password: YES) > > at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998) > > The error is not saying it can't access the database at 10.88.34.89 but rather the MySQL database server is saying it is denying a connection FROM the app server 10.88.4.177. Can you connect from 10.88.4.177 to 10.88.34.89 using some other tool, like the MySQL client? Can you do a port scan of 10.88.34.89 from 10.88.4.177 of port 3306 (assuming you are using the default). -- Daryl Stultz Principal Software Developer _____________________________________ OpenTempo, Inc http://www.opentempo.com mailto:dar...@op... -- This electronic transmission and any files/documents transmitted with it may contain PRIVILEGED and/or CONFIDENTIAL information and may be read or used only by the intended recipient. If you are not the intended recipient of this electronic transmission or any of its attachments please be advised that you have received this information in error and that any use, dissemination, distribution, forwarding, printing or copying of this electronic transmission is strictly prohibited. If you have received this electronic transmission in error, please destroy/delete it and all attachments and notify the sender immediately by telephone or return E-mail, as applicable. |