MariaDB 10.2拒绝通过SSH连接改变标准的TCP / IP
通常使用Squel Pro或MySQL Bench连接到远程mysql服务器,没有问题。 但现在我得到错误,我不明白为什么。 Failed to Connect to MySQL at localhost:3306 through SSH tunnel at root@mimachine:24 with user root Lost connection to MySQL server at 'reading initial communication packet', system error: 0 好。 我的用户root通过SSH端口24input带有ssh密钥的系统 在configuration我试过MySQL主机名 – >本地主机,127.0.0.1,本地IP,… 在/var/log/mysql/error.log关于尝试访问的任何错误 也尝试与非特权用户。 还要添加几个root的实例.. MariaDB [(none)]> SELECT User, Host FROM mysql.user; +——————+————–+ | User | Host | +——————+————–+ | […]