• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6532
  • Last Modified:

MYSQL Version in Linux

I ran a mysql -V in Linux to see what version of mysql is on my server.

What version is this:

"mysql  Ver 14.7 Distrib 4.1.21, for portbld-freebsd6.0 (i386) using  5.0"

I am very confused as it saysin Using 5.0 at the end.


  • 2
2 Solutions
using 5.0 tells you that you mysql-client is using readline version 5.0. On my SuSe i get for  mysql -V :
mysql  Ver 14.12 Distrib 5.0.18, for suse-linux (x86_64) using readline 5.1
* 14.12 is the version the mysql-client tool
* 5.0.18 is the version of the used mysql-client-libs
* 5.1 is the version of readline used (so the text readline is missing in your bsd-port)

Kerem ERSOYPresidentCommented:
BTW - you told you're running Linux but your mysql is not agree that. It seems to me that you're rather running freebsd but not linux.  

The version of mysql you're running is "4.1.21" and "5.0" is the version of readline as hernst42 told. This library is responsible for reading your responses from the console.

To display full version varables you'd run mysql and issue this command:
# mysql
> show variables like "%version%"

Also if you want to display your os version use this command
uname -a

Kerem ERSOYPresidentCommented:
oops please don't forgert to add a semicolon after the show variables command such as this:
> show variables like "%version%";

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now