Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu22.04迁移备份时遇到错误 #1013

Open
CMeAngler opened this issue Apr 11, 2024 · 3 comments
Open

ubuntu22.04迁移备份时遇到错误 #1013

CMeAngler opened this issue Apr 11, 2024 · 3 comments

Comments

@CMeAngler
Copy link

CMeAngler commented Apr 11, 2024

设备:阿里云云服务器ubuntu22.04
执行过程:
Xftp传输备份.tar.bz2文件至install文件夹下
root下cd /home/judge/src/install后restore.sh备份文件压缩包
报错内容:
ERROR 1227 (42000) at line 477: Access denied; you need (at least one of) the SUPER, SET USER privilege(s) for this operation
ERROR 1060 (42S21) at line 3: Duplicate column name 'user_id'
ERROR 1060 (42S21) at line 3: Duplicate column name 'user_id'
在mysql中查询root权限为all priority
目前仍没有实现有效的解决方式,求解决

@zhblue
Copy link
Owner

zhblue commented Apr 12, 2024

可以试试手工还原备份中的.sql文件。

@CMeAngler
Copy link
Author

可以试试手工还原备份中的.sql文件

看了一下备份里.sql文件没有缺失,但是home/judge/src/.svn文件夹缺失并且传不过去

@zhblue
Copy link
Owner

zhblue commented Apr 18, 2024

.svn已经废弃,可以忽略。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants