标签: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