Centos7 下mysql重新启动MariaDB篇(centos ping命令)一篇读懂

随心笔谈2年前发布 编辑
176 0
🌐 经济型:买域名、轻量云服务器、用途:游戏 网站等 《腾讯云》特点:特价机便宜 适合初学者用 点我优惠购买
🚀 拓展型:买域名、轻量云服务器、用途:游戏 网站等 《阿里云》特点:中档服务器便宜 域名备案事多 点我优惠购买
🛡️ 稳定型:买域名、轻量云服务器、用途:游戏 网站等 《西部数码》 特点:比上两家略贵但是稳定性超好事也少 点我优惠购买


# yum install mysql -y
# mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111)
试着去启动mysql服务,仍然不行

# systemctl start mysql
Failed to issue method call: Unit mysql.service failed to load: No such file or directory.

# systemctl start mysql.service
Failed to issue method call: Unit mysql.service failed to load: No such file or directory

# systemctl enable mysql.service
Failed to issue method call: Access denied

© 版权声明

相关文章