Determine the version of MySQL server

Posted December 14, 2003 by Quinn McHenry in MySQL

Last Updated on

How do I tell what version of MySQL server that I am running?

To determine the version of the MySQL server running on host ‘elephant’ use:

mysql -h elephant -V
mysql Ver 12.21 Distrib 4.0.14, for pc-linux (i686)

The MySQL version indicated by the output line above is 4.0.14. To determine the version of MySQL running on the local host, use the same command without the ‘-h elephant’ option.


About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply