How to determine the version of MySQL

  • 7004130
  • 06-Aug-2009
  • 26-Apr-2012

Environment

Novell Identity Manager 3.0
Novell Identity Manager 3.5
Novell Identity Manager 3.5.1
Novell Identity Manager 3.6
Novell Identity Manager 3.6.1

Situation

How do you find the version of MySQL.

Resolution

Listed below are the commands to use to determine the version of MySQL for a Linux or Windows MySQL install.
 
Linux
====
Open a terminal window and navigate to the 'bin' directory of the MySQL installation.  Then enter './mysql -V'.
 
For example:      /home/IDM/mysql/bin/ ./mysql -V
 
Windows
=======
Open a dos window and navigate to the 'bin' directory of the MySQL installation.  Then enter 'mysql -e status'.
 
For example:      C:\IDM\mysql\bin/ > mysql -e status'.

Additional Information

The 'V' used in the Linux command must be a Capital V.