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

随心笔谈1年前 (2023)发布 admin
105 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

© 版权声明

相关文章