Sunday, 13 January 2013

How to Check MySQL Version from Command Prompt

Today I was asked to provide MYSQL version which we have used within our integrated system.

We as a developers are not bothered about the version, I was not aware of it and on my local system I have WAMP installed, so it directly gives the MYSQL version.

So to get MYSQL version from “mysql” command line, I got help from one of the site which asked to use the following line of code

select version ();

This will display the current MYSQL version used within system

No comments:

Post a Comment