码迷,mamicode.com
首页 > 编程语言 > 详细

ERROR 3009 (HY000): java.lang.IllegalArgumentException: Invalid DataSource:1

时间:2017-10-07 14:41:26      阅读:2538      评论:0      收藏:0      [点我收藏+]

标签:sql   rac   ddb   use   erro   change   server   dem   解决办法   

[root@ms1 conf]# mysql -uroot -pchengce243 -h192.168.56.56 -P8066
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.6.29-mycat-1.6-RELEASE-20161028204710 MyCat Server (OpenCloundDB)

Copyright (c) 2000, 2016, 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> show databases;
+----------+
| DATABASE |
+----------+
| TESTDB |
+----------+
1 row in set (0.00 sec)

mysql> use TESTDB;
Database changed
mysql> show tables;
+------------------+
| Tables in TESTDB |
+------------------+
| company |
| customer |
| customer_addr |
| employee |
| goods |
| hotnews |
| orders |
| order_items |
| travelrecord |
+------------------+
9 rows in set (0.00 sec)

mysql> SELECT * FROM company;
ERROR 3009 (HY000): java.lang.IllegalArgumentException: Invalid DataSource:1

 

 

解决办法:

[root@ms1 conf]# mysql -uroot -pchengce243  -P8066

 

ERROR 3009 (HY000): java.lang.IllegalArgumentException: Invalid DataSource:1

标签:sql   rac   ddb   use   erro   change   server   dem   解决办法   

原文地址:http://www.cnblogs.com/liang545621/p/7634432.html

(5)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!