guanhua-dba

Results 11 comments of guanhua-dba

我这里也遇到了同样的报错。 我的环境是mysql8.0.13+mycat1.6.7.1。 本次我从搭建成功mycat后就一直在报错,show tables返回 ![image](https://user-images.githubusercontent.com/59173239/76732749-61b38180-679a-11ea-8285-62d64b8a0882.png) 怀疑过是8.0密码认证改变引起的,但是之前的测试中没有遇到这样的问题。下面是我的配置文件 [root@MySQL05 mycat]# cat conf/schema.xml select user() [root@MySQL05 mycat]# cat conf/server.xml ..................................................................................................................................... ....................................................................................................................................... ........................................................................................................................................ 123456 TESTDB user TESTDB true

奇怪的问题频出,例如,stop mycat时提示没有运行,但是我查看mycat是运行的。 ![image](https://user-images.githubusercontent.com/59173239/76733509-ec48b080-679b-11ea-9729-a326fe72ebe1.png)

你在连接mycat时应该使用这样的方式: mysql -h 127.0.0.1 -u root -P 8066 --default-auth=mysql_native_password -p 关于您提到的问题,我解决了,但是我不知道您的问题是否和我的一样,所以您通过这个命令看一下mycat的运行日志 cat mycat-03-16-1.log|grep error。将报错提供一下,我看看是否和我的一样。

您好,您将github上的链接发我一下。 在 2020年5月28日,14:12,aslzl 写道: Invalid DataSource:0 这个问题最后都是如何解决的 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

您好,麻烦告诉一下MyCAT、MySQL使用的版本,以及MyCAT机器上使用的MySQL的环境,最后是 连接的命令提供一下。