Can CLI mariadb 10.5 environment connect using 10.5 mysql cli to mariadb 5.5

We have a new install of mariadb 10.5. I am trying to use the mysql cli from that server to connect to an older mariadb server running mariadb 5.5.

Are there any issues with using "mysql" cli connecting from new 10.5 server to older 5.5 server ?


Answer Answered by Daniel Black in this comment.

There shouldn't be, as demonstrated below.

$   podman pod create --name  crossversion

$ podman run --env MYSQL_ROOT_PASSWORD=bob --pod crossversion --name m55  -d  mariadb:5.5 

$ podman run  --pod crossversion --name m105 -ti --rm mariadb:10.5  mysql --host localhost --port 3306 --protocol tcp --user root --password=bob
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 1
Server version: 5.5.64-MariaDB-1~trusty binary distribution

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)]> \s
mysql  Ver 15.1 Distrib 10.5.16-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

Connection id:		1
Current database:	
Current user:		root@
SSL:			Not in use
Current pager:		stdout
Using outfile:		''
Using delimiter:	;
Server:			MariaDB
Server version:		5.5.64-MariaDB-1~trusty binary distribution
Protocol version:	10
Connection:		localhost via TCP/IP
Server characterset:	latin1
Db     characterset:	latin1
Client characterset:	latin1
Conn.  characterset:	latin1
TCP port:		3306
Uptime:			47 sec

Threads: 1  Questions: 4  Slow queries: 0  Opens: 0  Flush tables: 2  Open tables: 26  Queries per second avg: 0.085


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.