相关查看运行状态启动关闭

linux下mysql的相关命令

数据库教程 2020-06-12 15:33:57 43

导读

查看MYSQL运行状态/etc/init.d/mysqlstatus启动MYSQL/etc/init.d/mysqlstart关闭MYSQL/etc/init.d/mysqlstop重新安装MYSQL/etc/init.d/mysqlreload强制重装MYSQL/etc/init.d/mysqlforce-reload……

查看MYSQL运行状态

/etc/init.d/mysql status

启动MYSQL

/etc/init.d/mysql start

关闭MYSQL

/etc/init.d/mysql stop

重新安装MYSQL

/etc/init.d/mysql reload

强制重装MYSQL

/etc/init.d/mysql force-reload


1253067 TFnetwork_cn