云迈博客

您现在的位置是:首页 > 数据库 > MySQL > 正文

MySQL

MySQL 源码安装及卸载

wsinbol2022-10-06MySQL319
MySQL源码安装MySQL状态管理```/etc/init.d/mysqldstatus/etc/init.d/mysqldstop/etc/init.d/mysqldstart开机启动

MySQL源码安装

MySQL 状态管理

/etc/init.d/mysqld status
/etc/init.d/mysqld stop
/etc/init.d/mysqld start

# 查看开机项
systemctl list-unit-files

# 开机启动
chkconfig --add mysql
chkconfig mysqld on

# 关闭开机启动
chkconfig mysqld off
systemctl disable mysqld

卸载MySQL

```
find / -name mysql
删除对应的目录数据
···

发表评论

评论列表

  • 这篇文章还没有收到评论,赶紧来抢沙发吧~