[root@ba ~]# mysqldump --default-character-set=utf8 --databases susite ucme >/home/2db-uch-ss-20120312.sql
mysqldump: Got error: 1449: The user specified as a definer ([url=mailto:]'mbuch'@'10.6.21.%'[/url]) does not exist when using LOCK TABLES
【】建用户
mysql> grant select,insert,update,delete on mchome.* to [url=mailto:]'mbuch'@'10.6.21.%'[/url] identified by 'mbuch';
Query OK, 0 rows affected (0.82 sec)
【】ok成功了
[root@ba ~]# mysqldump --default-character-set=utf8 --databases supesite uchome >/home/2db-uch-ss-20120312.sql
[root@ba ~]# ll
我这个办法比较懒惰,不知道大家有别的比较好的解决方案没有?share下,谢谢!
阅读(3448) | 评论(0) | 转发(0) |