MySQL Programming Question:

Download Job Interview Questions and Answers PDF

How Do You Know the Version of Your MySQL Server?

MySQL Programming Interview Question
MySQL Programming Interview Question

Answer:

If you want to know the version number of your MySQL server, you can use the "mysqladmin" program in a command window as shown in the following tutorial:

>cd mysqlin
>mysqladmin -u root version
mysqladmin Ver 8.41 Distrib 5.0.24, for Win32 on ia32
Copyright (C) 2000 MySQL AB & MySQL Finland AB
& TCX DataKonsult AB
...
<pre>Server version 5.0.24-community
Protocol version 10
Connection localhost via TCP/IP
TCP port 3306
Uptime: 25 min 9 sec</pre>
Threads: 1 Questions: 2 Slow queries: 0 Opens: 12
Flush tables: 1 Open tables: 6
Queries per second avg: 0.001

The output in the above example tells you that the version number is 5.0.24.

Download MySQL Programming Interview Questions And Answers PDF

Previous QuestionNext Question
How Do You Know If Your MySQL Server Is Alive?How To Create a Test Table in Your MySQL Server?