This view provides the current sys schema and MySQL server versions.
As of MySQL 8.0.18, this view is deprecated; expect it to be removed in a future version of MySQL. Affected applications should be adjusted to use an alternative instead. For example, use the VERSION() function to retrieve the MySQL server version.
The version view has these columns:
sys_version
The sys schema version.
mysql_version
The MySQL server version.