I needed to get the version of a PostgreSQL server the other day and figured I should also look up how to do that with MySQL as I also use that DB from time to time.
It turns out you can easily get this information with a quick database query, similar to the one used for PostgreSQL:
SELECT VERSION();
I hope this helps someone.
Top comments (0)