how to see the version of mysql running code example Example: how to get current mysql version SELECT VERSION ();