MySQL Forums
Forum List  »  Install & Repo

Re: Which mysql version being installed
Posted by: Long Nguyen
Date: July 23, 2015 01:04AM

I think "mysql --version" gives the client version number, whereas to get the server version number we need to run "dpkg -l|grep mysql-server-core".

We can also get the server version number by connecting to mysql through mysql client. The banner mesage normally includes the server version nunber. Alternatively once in mysql client we can issue "select @@version;".

Options: ReplyQuote


Subject
Written By
Posted
Re: Which mysql version being installed
July 23, 2015 01:04AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.