Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / How to retrieve the current version of a MySQL database management system (DBMS)?

How to retrieve the current version of a MySQL database management system (DBMS)?

August 20, 2021 by James Palmer

Try this function –
SELECT VERSION();
-> ‘5.7.22-standard’

VERSION()
Or for more details use :
SHOW VARIABLES LIKE “%version%”;
+————————-+——————————————+
| Variable_name | Value |
+————————-+——————————————+
| protocol_version | 10 |
| version | 5.0.27-standard |
| version_comment | MySQL Community Edition – Standard (GPL) |
| version_compile_machine | i686 |
| version_compile_os | pc-linux-gnu |
+————————-+——————————————+
5 rows in set (0.04 sec)

MySQL 5.0 Reference Manual (pdf) – Determining Your Current MySQL Version – page 42

Many answers suggest to use mysql –version. But the mysql programm is the client. The server is mysqld. So the command should be
mysqld –version

or
mysqld –help

That works for me on Debian and Windows.
When connected to a MySQL server with a client you can use
select version()

or
select @@version

Related

Filed Under: Uncategorized

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2025 · News Pro Theme on Genesis Framework · WordPress · Log in