透過Amoeba連線mysql報錯

小亮520cl發表於2015-10-30
透過amobe連線mysql
[root@localhost ~]# mysql -uroot -pESBecs00 -h127.0.0.1 -P8066
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 572351819
Server version: 5.1.45-mysql-amoeba-proxy-2.1.0-RC5 Source distribution


Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.


Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.


Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


mysql> use test;
----報錯了。。。lost connection等

解決辦法:
dbServer的配置檔案password部分配置錯誤!
                        <!-- mysql user -->
                        <property name="user">root</property>


                        <!--  mysql password -->
                        <property name="password">ESBecs00</property>    ---這個部分檢查清楚。。


                </factoryConfig>

原文:http://www.cnblogs.com/ylqmf/archive/2012/03/16/2402296.html

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29096438/viewspace-1819161/,如需轉載,請註明出處,否則將追究法律責任。

相關文章