我创建了一个
现在如何迁移用户?有没有标准的方法?
mysqldump --all-databases
并将所有数据库转移到新服务器。但由于 debian-sys-maint
用户的密码不匹配,它并没有起作用。所以我更改了这个用户的密码。之后我重启了服务器并得到了这个错误。
我不知道还会出现多少错误。所以我想只创建与我的应用程序相关的数据库的转储 (ERROR 1577 (HY000) at line 1: Cannot proceed because system tables used by Event Scheduler were found damaged at server start ERROR 1547 (HY000) at line 1: Column count of mysql.proc is wrong. Expected 20, found 16. The table is probably corrupted
mysqldump --databases
)。现在如何迁移用户?有没有标准的方法?
更多信息:
New Server version: 5.1.63-0+squeeze1 (Debian)
Old Server version: 5.0.51a-24+lenny5 (Debian)