1. 免密登录
- 修改
/etc/my.cnf,在[mysqld]中添加一行:
skip-grant-tables=1
- 重启 mysqld 服务
| |
- 使用 root 用户登录到 MySQL
| |
2. 允许全部访问来源
- 登录 MySQL
| |
在 mysql 交互命令行中输入:
| |
3. 导出全部数据
| |
Please enable Javascript to view the contents
/etc/my.cnf,在 [mysqld] 中添加一行:skip-grant-tables=1
| |
| |
| |
在 mysql 交互命令行中输入:
| |
| |

作者
微信公众号
相关内容
Please enable Javascript to view the contents
/etc/my.cnf,在 [mysqld] 中添加一行:skip-grant-tables=1
| |
| |
| |
在 mysql 交互命令行中输入:
| |
| |

作者
微信公众号
相关内容