mysql> \s
--------------
mysql Ver 14.14 Distrib 5.7.34, for Linux (x86_64) using EditLine wrapper
Connection id: 45
Current database: my_database
Current user: root@localhost
SSL: Not in use
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server version: 5.7.34-log MySQL Community Server (GPL)
Protocol version: 10
Connection: Localhost via UNIX socket
Server characterset: latin1
Db characterset: latin1
Client characterset: utf8
Conn. characterset: utf8
UNIX socket: /var/run/mysqld/mysqld.sock
Uptime: 16 days 22 hours 19 min 37 sec
2条答案
按热度按时间zsbz8rwp1#
您可以使用
\s
,它将给予以下输出并验证Using delimiter:
行yyyllmsg2#
你应该你这个命令它的工作以及在mysql docker容器