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