標籤:cep databases chm cti app size 微軟雅黑 alt orm
mycat連結mysql提示ERROR 3009 (HY000): java.lang.IllegalArgumentExceptio解決方式
2017-02-03 17:59:42
分類: 系統營運
1:今天打算測試1.6的新版本的ddl的控制許可權的問題,結果配置好schema.xml
和
server.xml
啟動之後再連結mycat
[[email protected] mycat]# mysql -uhanye -proot12300 -h127.0.0.1 -P8066
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.29-mycat-1.6-RELEASE-20161028204710 MyCat Server
MySQL [(none)]> show databases;
+----------+
| DATABASE |
+----------+
| qiaomai |
+----------+
1 row in set (0.00 sec)
MySQL [(none)]> use qiaomai
Database changed
MySQL [qiaomai]> show tables;
ERROR 3009 (HY000): java.lang.IllegalArgumentException: Invalid DataSource:0
2:處理方式很簡單
[[email protected] mycat]# mysql -uhanye -proot12300 -P8066
即可
3:如果提示如下之類的錯誤
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=64M; support was removed in 8.0
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.opencloudb.MycatStartup.main(MycatStartup.java:46)
那就是你的xml配置 有問題
mycat連結mysql提示ERROR 3009 (HY000): java.lang.Ille