I'm running CentOS 5.2 and upgraded MySQL to 5.5. When I run
mysql I get this:
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 11 Server version: 5.5.45 MySQL Community Server (GPL)
But when I run
mysql --version I get this:
mysql Ver 14.12 Distrib 5.0.95, for redhat-linux-gnu (x86_64) using readline 5.1
mysql55-mysqld I'm sure I'm running 5.5, but why am I getting the wrong version with the version command?