ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock
mysql -uroot -p登陆不上，报错：Enter password:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)[...]
初始化mysql可以使用mysql_secure_installationMysql 安装dnf install mysql-server*Mysql 启动systemctl start mysqld #设置自启动 systemctl enable mysqld[...]