问题1:如何确认MySQL是否在运行?答案:在Debian上使用命令service mysql status,在RedHat上使用命令service mysqld status,并检查输出信息。root@localhost:/home/avi# service mysql status /usr/bin/mysqladmin Ver 8.42 Distrib 5.1.72, for debian-linux-gnu on i486 Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners。服务器版本5.1.72-2,协议版本10,连接L。