how to get mysql version in system code example Example: how to get current mysql version SELECT VERSION ();