摘要:
解决办法: 给所有主机开放权限 # mysql -h127.0.0.1 -u root -p 输入密码 >grant all privileges on *.* to root@"127.0.0.1" identified by "密码" WITH GRANT OPTION; >FLUSH PRIV 阅读全文
随笔档案-2020年07月
[报错:访问终端localhos不允许远程访问]ERROR 1044 (42000): Access denied for user 'root'@'localhost'
2020-07-16 11:27 by Tanwheey, 1359 阅读, 收藏, 编辑
摘要:
当前主机复制远程mysql库数据时报错: #mysqldump -h远程主机 -uroot -p远程mysql密码 -P3306 --default-character-set=utf8 --all-databases | mysql -h127.0.0.1 -uroot -p -P3306 ERR 阅读全文
【mysql初始设置密码报错处理方法】ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
2020-07-14 17:10 by Tanwheey, 841 阅读, 收藏, 编辑
摘要:
设置密码: mysql> set password for root@localhost = password('test123'); 报错:ERROR 1819 (HY000): Your password does not satisfy the current policy requireme 阅读全文
mysql数据库从一台服务器迁移到另一台服务器上
2020-07-14 16:35 by Tanwheey, 408 阅读, 收藏, 编辑
摘要:
需要两个服务器数据库版本相同才可迁移 1:单个或多个数据库 mysqldump -h远程ip -u用户 -p密码 -P3306 --default-character-set=utf8 --databases 单个或多个数据库名称空格分开 | mysql -h127.0.0.1 -uroot -p 阅读全文