Returns a string that indicates the MySQL server version. The string uses the utf8mb3 character set. The value might have a suffix in addition to the version number. See the description of the version system variable in Section 7.1.8, “Server System Variables”.
SELECT VERSION();
'8.4.9-standard'
This function is unsafe for statement-based replication. A warning is logged if you use this function when binlog_format is set to STATEMENT.
SELECT VERSION();
'8.4.9-standard'