- Joined
- Oct 7, 2016
- Messages
- 247
- Points
- 18
Are there any commands to check MySQL Version on my VPS Centos? I am new to VPS hosting and just bought a new VPS package to install for testing and hosting my sites on it.
mysql -V
mysql
SHOW VARIABLES LIKE "%version%";
mysql> SHOW VARIABLES LIKE "%version%";
+-------------------------+------------------------------------------------------+
| Variable_name | Value |
+-------------------------+------------------------------------------------------+
| innodb_version | 5.5.51-38.2 |
| protocol_version | 10 |
| slave_type_conversions | |
| tls_version | TLSv1.1,TLSv1.2 |
| version | 5.5.51-38.2 |
| version_comment | Percona Server (GPL), Release 38.2, Revision 6a9ff9a |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
+-------------------------+------------------------------------------------------+
8 rows in set (0.01 sec)
From MySQL Command Client:ysql -V
Or just ask your hosting provider, if they're kind enough.mysql
Option 2: If you are using the CPanel then you can check out the about page of the MySQL wizard or the MySQL database page. You can also do the same on the PHPMyAdmin home page. That should show you the MySQL version installed on your server account.mysql -V