Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Check out the summary of MySQL database version methods!

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Foreword:

When you take over a mysql database management, you first need to check the maintained version of the mysql database, or when the developer asks you about the version of the mysql database, and you happen to forget, then you also need to check the version of the mysql database. These are collected by myself and shared with you!

1. If you are a yum installation

Rpm-qa | grep mysql or rpm-qa | grep-I mysql

Mysql-server-5.1.73-3.el6_5.x86_64

If you can log into the database,

2. Check when logging in.

Mysql-u root-p

3. Mysql > select version ()

4. Mysql > status

5. SHOW VARIABLES LIKE "% version%"

View without logging in

6. Mysql-V

Ver 14.14 Distrib 5.1.73

7. Mysql-- help or mysql-- help | grep Distrib

8. Mysql-version

9. If it is a compiler or a binary installation

Cd xx/mysql (MySQL installation directory) / bin

. / mysql-- version is fine

Write a blog and check it out for yourself. It's just that the way is different, you can use your own handy!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report