1. 免密登录 修改 /etc/my.cnf,在 [mysqld] 中添加一行: skip-grant-tables=1 重启 mysqld 服务 1 systemctl restart mysqld 使用 root 用户登录到 MySQL 1 mysql -u root 2. 允许全部访问来源 登录 MySQL 1 mysql -u root -p 在 mysql 交互命令行中输入: 1 2 3…
1. 免密登录 修改 /etc/my.cnf,在 [mysqld] 中添加一行: skip-grant-tables=1 重启 mysqld 服务 1 systemctl restart mysqld 使用 root 用户登录到 MySQL 1 mysql -u root 2. 允许全部访问来源 登录 MySQL 1 mysql -u root -p 在 mysql 交互命令行中输入: 1 2 3…
讨论
登录后参与讨论
还没有评论,来说第一句吧。