how to get mysql-server version code example Example: how to get current mysql version SELECT VERSION ();