首页 > 如何查看mariadb 是32位还是64位的?还有另外的版本信息?

如何查看mariadb 是32位还是64位的?还有另外的版本信息?

服务器是windows,如何查看mariadb 是32位还是64位的?还有另外的版本信息?


用命令行:


可通过mysql -V命令查看32位或64位

[root@server ~]# mysql -V
mysql  Ver 14.14 Distrib 5.5.24, for Linux (x86_64) using  EditLine wrapper

想查看版本信息可以两种方式

1.登录mysql,简要版本信息显示在头部

[root@vipvm0037 ~]# mysql -uroot -p123456
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 45453
Server version: 5.5.5-10.1.11-MariaDB MariaDB Server

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

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

mysql> 

2.登录后输入status

mysql> status
mysql  Ver 14.14 Distrib 5.5.24, for Linux (x86_64) using  EditLine wrapper

Connection id:        45453
Current database:    
Current user:        rootchannel@h3
SSL:            Not in use
Current pager:        stdout
Using outfile:        ''
Using delimiter:    ;
Server version:        5.5.5-10.1.11-MariaDB MariaDB Server
Protocol version:    10

mysql -V

输出:

mysql  Ver 15.1 Distrib 10.1.9-MariaDB, for Win64 (AMD64)
【热门文章】
【热门文章】