恢复seafile../common/ccnet-db.c(124): Failed to get database connection

错误信息:…/common/ccnet-db.c(124): Failed to get database connection : Failed to connect to MySQL: Access denied for user ‘seafile’@‘localhost’ (using password: YES).

我按照官方说明的“备份和恢复”章节做了两次,都出现同样问题。我是用快速安装脚本安装的seafile,系统是centos7.
问:
都是用root账号导出数据库和导入数据库,想问seafile账号在导入导出不需要使用吗?

步骤
1.全新安装seafile,可以运行,脚本安装的,MYSQL密码是自动生成的,和原来的不同
2.我把资料库目录seafile整个复制过来了,保持目录不变,再导入MYSQL的3个数据库
3.seafile就无法运行了,报错信息如上:
请问问题在哪里呢?