You may request notification for mysql check failed.. |
1:
mysql check failed.
By: shuai yuan
|
07/18/09 02:08 AM | |||
when I type ./install-lams.sh,the screen says as follow:
[root@localhost lams-unix-installer-2.3]# ./install-lams.sh JDK_DIR is valid Communications link failure due to underlying exception: BEGIN NESTED EXCEPTION java.net.ConnectException MESSAGE: Connection refused STACKTRACE: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364) at java.net.Socket.connect(Socket.java:507 at java.net.Socket.connect(Socket.java:457) at java.net.Socket.<init>(Socket.java:365 at java.net.Socket.<init>(Socket.java:207) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771) at com.mysql.jdbc.Connection.<init>(Connection.java:1555) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:171) at checkmysql.execute(Unknown Source) at checkmysql.main(Unknown Source) END NESTED EXCEPTION Last packet sent to the server was 0 ms ago. MySql check failed. Check that your MYSQL_HOST variable in lams.properties points to a MySql 5.x installation Install Failed. MySql check did not pass. Please check that your DB_ROOT_PASSWORD in lams.properties is set to the root password of your MySql 5.x server MYSQL_HOST=localhost in lams.properties,isn't it right? what's wrong? thanks Posted by shuai yuan |
|
||||||||||
|
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum