how to know which version mysql code example Example: how to get current mysql version SELECT VERSION ();