首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >mariadb 低版本 能登录高版本吗?

mariadb 低版本 能登录高版本吗?

提问于 2020-03-18 16:48:43
回答 0关注 0查看 234

高版本登录低版本可以

[root@gaolinux81-1 ~]# mysql -uuser1 -p123456 -h192.168.158.182 -P3306

Welcome to the MariaDB monitor. Commands end with ; or \g.

Your MariaDB connection id is 13

Server version: 10.3.10-MariaDB MariaDB Serve

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> exit

登录本机可以

[root@gaolinux81-1 ~]# mysql -uuser1 -p123456 -h192.168.158.181 -P3306

Welcome to the MariaDB monitor. Commands end with ; or \g.

Your MariaDB connection id is 9

Server version: 10.4.12-MariaDB MariaDB Serve

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

低版本登录高版本 不可以 防火墙关闭

[root@gaolinux81-2 mariadb]# mysql -uuser1 -p123456 -h192.168.158.181 -P3306

ERROR 2002 (HY000): Can't connect to MySQL server on '192.168.158.181' (115)

登录本机可以

[root@gaolinux81-2 mariadb]# mysql -uuser1 -p123456 -h192.168.158.182 -P3306

Welcome to the MariaDB monitor. Commands end with ; or \g.

Your MariaDB connection id is 15

Server version: 10.3.10-MariaDB MariaDB Serve

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

有大神知道原因吗?

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档