Mega Code Archive
VERSION() returns a string that indicates the MySQL server version
mysql>
mysql> SELECT VERSION();
+---------------------+
| VERSION() |
+---------------------+
| 5.0.41-community-nt |
+---------------------+
1 row in set (0.00 sec)
mysql>