Issue
Is there any universal command that I can use in the console, for example how to find the mysql version ?
id='dv4'>
Solution
You can use dpkg
to get that info:
dpkg -l mysql-server | grep -E "^ii" | tr -s ' ' | cut -d' ' -f3
This will give you the installed version of the mysql-server
package.
If a package is not installed, it will print out "No packages found matching mysql-server." instead.
Answered By - Carsten Answer Checked By - David Goodson (WPSolving Volunteer)