加入收藏 | 设为首页 | 会员中心 | 我要投稿 PHP编程网 - 黄冈站长网 (http://www.0713zz.com/)- 数据应用、建站、人体识别、智能机器人、语音技术!
当前位置: 首页 > 站长学院 > MySql教程 > 正文

怎样查询mysql的版本号

发布时间:2022-06-23 12:48:23 所属栏目:MySql教程 来源:互联网
导读:查看mysql的版本号 1、在命令行登录mysql,即可看到mysql的版本号 [root@heyong ~]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 487032Server version: 5.7.17 MySQL Commun
  查看mysql的版本号
  1、在命令行登录mysql,即可看到mysql的版本号
 
  [root@heyong ~]# mysql -uroot -p
  Enter password:
  Welcome to the MySQL monitor.  Commands end with ; or g.
  Your MySQL connection id is 487032Server version: 5.7.17 MySQL Community Server (GPL)
 
  Copyright (c) 2000, 2016, 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、利用navicat连接mysql的客户端工具可以查看
 
  连接之后右键——详细信息
  
  3、 使用mysql --help | grep Distrib查看
 
  [root@heyong tools]# mysql --help | grep Distrib
  mysql Ver 14.14 Distrib 5.7.17, for linux-glibc2.5 (x86_64) using EditLine wrapper
 
  感谢各位的阅读!关于“如何查询mysql的版本号”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!

(编辑:PHP编程网 - 黄冈站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读