通过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
[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/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29096438/viewspace-1819161/