10 2024 档案
摘要:mysql5.7及以后版本设置密码 开启skip-grant-tables配置 由于安装时没有指定密码,需要配置/etc/my.cnf(或者/etc/mysql/my.cnf等已存在的配置文件) 在[mysqld]下一行加上: skip-grant-tables 表示无密码登入 vim /etc/m
阅读全文
摘要:yum安装mysql-server或者mysql后,systemctl start mysqld启动mysql服务无效,尝试输入mysql命令后,报错:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/v
阅读全文