ubuntu mysql安装集锦
非常详细,可以跟着一步步做
===========================
ubuntu 停止mysql服务
sudo service mysqld stop
sudo systemctl stop mysql
==================
ubuntu18.04 卸载mysql
停止MySQL服务:sudo systemctl stop mysql
卸载MySQL:sudo apt remove --purge mysql-server mysql-client mysql-common
删除MySQL配置文件:sudo rm -rf /etc/mysql
删除MySQL数据目录:sudo rm -rf /var/lib/mysql
清理任何未安装的依赖项:sudo apt-get autoremove
======================
查看mysql的状态
sudo systemctl status mysql.service
或 sudo systemctl status mysql
或 sudo service mysql status
================================================
ubuntu下安装mysql
sudo apt install myql-server
(182条消息) ubuntu18.04上安装配置MySQL的详细介绍_ubuntu18.04安装mysql_MarsenSeven的博客-CSDN博客
-----------------------------
ubuntu下安装MySQL数据库-今日头条 (toutiao.com)
==================================================
电脑技术 2023-04-30 10:40:56 通过 网页 浏览(301)
共有0条评论!