Check MySql version in Ubuntu
To check the version of MySQL installed on an Ubuntu system, you can use the following command:
mysql -V
This command will display the version of the MySQL server that is currently installed on the system.
Alternatively, you can use the following command to check the version of MySQL:
mysql --version
This command will display the version of MySQL in the following format: mysql Ver x.x.x for ubuntu x.x on x86_64 (Ubuntu x.x-x)
In summary, checking the version of MySQL installed on an Ubuntu system is a simple process that can be easily accomplished using the mysql -V or mysql –version command. These commands will display the version of MySQL that is currently installed on the system.