Find out the current version and status of MySQL (
Figure 2.26).
At the prompt, type one of the following and press Enter or Return:
bin\mysqladminu root -p version status (Windows)
or
./bin/mysqladminu root -p version status(Mac OS X and Unix)
If you haven't already established a
root user's password, omit the -
p argument. If you have established that password, use the command as shown and enter that password at the prompt.
If everything worked, you should see how long the MySQL server has been running (in seconds) as well as other statistics.