1: Under the terminal: Mysql-v. Here is the code snippet:
[[email protected] ~]$ mysql-14.74.1 for Redhat-linux-gnu (i686)
2::mysql> status in MySQL;
Here is the code snippet:
Mysql>status; --------------MySQL Ver14.7Distrib4.1.10a, forredhat-linux-GNU (i686) Connection ID:416Ssl:notinchUse current pager:stdout Using outfile:"'Using delimiter:; Server version:3.23. About-Log Protocol version:TenConnection:localhost via UNIX socket Client characterset:latin1 Server characterset:latin1 U NIX Socket:/tmp/mysql_3311.sock Uptime: +Days +Hours +Min $sec Threads:1Questions:584402560Slow Queries:424Opens:59664208Flush tables:1Open tables: -Queries per second avg:107.551
3: Find in Help
Here is the code snippet:
[[email protected] ~]$ MySQL--help | 14.74.1 for Redhat-linux-gnu (i686)
4: Using MySQL's functions
Here is the code snippet:
Select version (); +-------------+ | Version () 3.23. -log | +-------------+ 1inset (0.00 sec)
Four ways to view versions of "MySQL"