1. 程式人生 > >mysqldump備份報錯:1449

mysqldump備份報錯:1449

問題

在進行mysqldump備份時報以下錯誤:

mysqldump: Got error: 1449: The user specified as a definer ('root'@'%') does not exist when using LOCK TABLES

解決


mysql> grant all privileges on *.* to [email protected]"%"identified by "你的密碼";

Query OK, 0 rows affected (0.11 sec)

mysql> flush privileges;


Query OK, 0 rows affected (0.07 sec)

`
再次執行mysqldump命令即可.

相關推薦

mysqldump備份:1449

問題 在進行mysqldump備份時報以下錯誤: mysqldump: Got error: 1449: The user specified as a definer ('root'@'%')

mysql 備份mysqldump: [Warning] Using a password on the command line interface can be insecure.

用戶名 mysql mysql 備份 bsp 目錄 comm line 添加 -- -------------------------------------------------------------------------------- mysql 備份報錯mys

Oracle數據庫誤刪文件導致rman備份RMAN-06169解決辦法

是什麽 miss read data- 刪除表空間 nts 系統 刪除表 erro Oracle數據庫誤刪文件導致rman備份報錯RMAN-06169解決辦法 可能是誤刪文件導致在使用rman備份時候出現以下提示 RMAN-06169: could not read fil

CS11:2008R2 Hyper-V 系統自帶備份0x8100010處理

etime 方法 category 操作 2008r2 resolve net serve spp 客戶問題概括: 客戶在2008R2 Hyper-V 主機上用自帶Windows Server Backup 備份時出現錯誤無法備份,在Hyper-V主機上發現如下日誌. Lo

mysql5.6版本備份

man sin gpo 啟動mysql ace command 輸入密碼 腳本 roo MySQL5.6版本備份報錯,密碼不安全 [root@centos199 mysql]# mysqldump -uroot -ppassword cz-office > mysql

mysqldump備份Binlogging on server not active的解決

mysqldump備份報BinloggRedhat 6.5 X64 Mysql 5.7執行備份:[root@master 3306]# mysqldump -u root -p --master-data=2 --single-transaction -R --triggers -A > all.s

crontab執行rman備份問題解決

crontab總是無法執行成功,反覆實驗了N次解決。 總結教訓如下: 1.rman指令碼中的要設定oracle環境變數,要寫rman絕對路徑 [[email protected] rman_backup_oracle]# cat his_rman_back.sh #!

mysqldump備份時報解決

mysqldump備份時會報以下的錯誤: Warning: Using unique option prefix sock instead of socket is deprecated and will be removed in a future rele

MysqL5.7在使用mysqldump命令備份數據庫mysqldump: [Warning] Using a password on the command line interface can be insecure.

導出 interface password spm 可能 tmp efm extra tps 在阿裏雲服務器增加一個shell腳本定時備份數據庫腳本執行任務時,測試性的執行了備份命令,如下 [root@iZ2ze503xw2q1fftv5rhboZ mysql_bak

使用mysqldump 備份 恢復從庫解決方案(ERROR 1872)

tab 註意 targe 密碼 二進制 5.6 rec 可用 alter 版本:MySQL5.7.22一、報錯現象dba:(none)> start slave;ERROR 1872 (HY000): Slave failed to initialize relay

xtrabackup-解壓備份文件sh: qpress: command not found

bash logs 正常 工具 erro usr linu comm compress # xtrabackup --decompress --target-dir=/data/compressed xtrabackup version 2.4.8 based on M

解決xtrabackup備份時出現的socket

mysql xtrabackup socket報錯 今天為公司新建的uat數據庫備份時,出現了報錯,將解決方法整理、做一下備忘: 服務器系統:[root@uat-mysql-master tmp]# cat /etc/redhat-release CentOS Linux release 7.3

使用rman備份到掛載的NFS目錄,提示ORA-19504-27054

使用rman備份到掛載的nfs目錄提示方案一:一、在AIX下掛載NFS後,手動運行rman備份腳本報錯信息如下:RMAN-03009: failure of backup command on ch1 channel at 05/05/2014 19:07:05ORA-19504: failed to cre

11g expdp+dblink 備份數據庫

led con ted data 11.2.0.4 nload network column tables 11.2.0.4數據庫,遠程使用expdp+dblink備份數據庫報錯 報錯如下: ORA-31679: Table data object "HIS"."AQULE

rman備份密碼-轉義

message could code 關註 recover iat dbid 備份 執行 同事備份遇到了一個報錯,提示用戶密碼拒絕。經過確認用戶和密碼都沒有問題,那可能是什麽問題呢! 1、現象 <roidb01:orcl:/u01/app/oracle/product

執行mysqldump備份數據時報

led 刪除數據庫 啟動報錯 cte indicate amp utf8 int osi 環境;MySQL 版本 5.6.28問題:執行mysqldump出現以下報錯,小白當時執行mysqldump備份時,是執行一次報一個錯1、mysqldump: Got error: 1

通過備份初始化合並複製時的的解決 (轉載)

由於關係資料庫的機制要求合併複製資料同步時需要有良好的自治性,SQL Server的合併複製的應用場景相對比較少。一些典型的應用場景比如異地資料同步,跨洋的資料同步等。由於網路延時以及該種業務有相對比較大的資料獨立性,因此在合併複製在某些場景會比較合適。 在一些情況下,合併複製如果由於某些原因壞掉,需要重新

MySQLmysqldump: Got error: 1044: Access denied for user... when doing LOCK TABLES

MySQL報錯mysqldump: Got error: 1044: Access denied for user... when doing LOCK TABLES 1. 報錯如下 mysqldump: Got error: 1044: Access denied for us

重新啟動postgre時,解決方案 ( 由備份檔案佔用空間太大造成 ) (linux 命令 df -h 檢視磁碟空間)

在這裡使用了一個liunx下的命令檢視磁碟空間 常用引數:df -h ------------------------------------- 1.在Linux下重新啟動postgre pg_ctl restart (postgres 使用者) 今天遇到的問題 由於匯

linux匯出mysql資料庫mysqldump:got error:1045

linux中匯出mysql資料庫命令: mysqldump –uroot –proot985 --all-databases > abc.sql abc為資料庫名稱,密碼為root985,這時候報錯mysqldump:got error:1045 解決辦法: 在