MySQL Programming Question:
Download Job Interview Questions and Answers PDF
How Do You Know If Your MySQL Server Is Alive?
Answer:
If you want to know whether your MySQL server is alive, you can use the "mysqladmin" program in a command window as shown in the following tutorial:
>cd mysqlin
>mysqladmin -u root ping
mysqld is alive
The "mysqld is alive" message tells you that your MySQL server is running ok. If your MySQL server is not running, you will get a "connect ... failed" message.
>cd mysqlin
>mysqladmin -u root ping
mysqld is alive
The "mysqld is alive" message tells you that your MySQL server is running ok. If your MySQL server is not running, you will get a "connect ... failed" message.
Download MySQL Programming Interview Questions And Answers
PDF
Previous Question | Next Question |
How To Start MySQL Server? | How Do You Know the Version of Your MySQL Server? |