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