09 2022 档案
摘要:alter user 你这个用户 identified with mysql_native_password by '密码'; flush privileges;
阅读全文
摘要:1.针对全库备份文件,只恢复一张表的内容。 从全备中导出表结构:sed -e'/./{H;$!d;}' -e 'x;/CREATE TABLE `table_name`/!d;q' all.sql > meta.sql 从全备中导出表数据:grep 'INSERT INTO `table_name`
阅读全文
摘要: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
阅读全文