09 2022 档案

摘要:alter user 你这个用户 identified with mysql_native_password by '密码'; flush privileges; 阅读全文
posted @ 2022-09-06 15:56 MySQL成长之路 阅读(32) 评论(0) 推荐(0) 编辑
摘要:1.针对全库备份文件,只恢复一张表的内容。 从全备中导出表结构:sed -e'/./{H;$!d;}' -e 'x;/CREATE TABLE `table_name`/!d;q' all.sql > meta.sql 从全备中导出表数据:grep 'INSERT INTO `table_name` 阅读全文
posted @ 2022-09-06 15:51 MySQL成长之路 阅读(428) 评论(0) 推荐(0) 编辑
摘要:1、获取my2sql 2、./my2sql -user root -password redhat -host 10.221.9.8 -port 13306 -mode repl -work-type rollback -start-file binlog.000605 -output-dir /t 阅读全文
posted @ 2022-09-06 15:50 MySQL成长之路 阅读(74) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示