关于Mysql常用命令
Linux系统
service mysqld restart //重启
service mysqld start // 启动
service mysqld stop //关闭
systemctl start mysqld 启动 MySQL
systemctl status mysqld 查看 MySQL 运行状态:
ps -ef|grep mysqld 查看是否有mysqld进程
mysql -uroot -p 登录 MySQL
Windws系统
-- 启动MySQL
net start mysql
-- 关闭MySQL
net stop mysql
浙公网安备 33010602011771号