| |
How to check MySQL version number
|
|
Tutorials >
Database Management Systems >
MySQL >
Tips And Tricks >
How to check MySQL version number
|
|
Discuss this tutorial here |
Search www.geeksww.com for more tutorials here
|
|
MySQL provides some features for particular version numbers and on particular platforms only. So, in some situations it gets really important to find the MySQL version number installed. If you are faced with such a problem you can use any of the following techniques to find MySQL version number.
If you are using a MySQL client e.g. MySQL command line or Query Browser, you can simply execute the following query.
SELECT version();
OR
SELECT @@version;
OR if you have access to MySQL Administrator and you are connected to the server. Just click on "Server Information" on the left side pane. The version information will be displayed on the right side pane.
You can also find the version number using mysqladmin command line tool. mysqladmin will also provide you good information about the server e.g. uptime, open tables etc.. Here is how I ran it on my windows machine.
C:\>mysqladmin -uroot -p -hlocalhost version
Enter password: ********
mysqladmin Ver 8.42 Distrib 5.1.30, for Win32 on ia32
Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Server version 5.1.30-community
Protocol version 10
Connection localhost via TCP/IP
TCP port 3306
Uptime: 4 days 22 hours 54 min 31 sec
Threads: 3 Questions: 1412 Slow queries: 0 Opens: 537 Flush tables: 1 Open
tables: 0 Queries per second avg: 0.3
|
|
| |
|
Discuss this tutorial here |
Search www.geeksww.com for more tutorials here
|
| |
Similar Tutorials:
|
| |
Support Geeks Worldwide:Link to us:
You can support us by putting a link to our website on your blog or website (code is below).
<a href="http://www.geeksww.com/">
Geeks Worldwide - Tutorials about Software Installation,
Configuration, Administration, Monitoring, Tools, Tips &
Tricks
</a>
OR a simple one.
<a href="http://www.geeksww.com/">
Geeks Worldwide - IT related Tutorials
</a>
Feedbacks: We appreciate feedbacks and suggestions about our tutorials and Geeks Worldwide from readers. Please contact us using the form here and let us know what you think about the tutorial and the website in general.
Bookmark Us:
We are working on new features for the website, please keep visiting or bookmark us using your favourite bookmarking service.
Subscribe to RSS:
You can subscribe to our RSS feed here.
|
| |