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

mysqldump error #17

Open
perler opened this issue Nov 15, 2019 · 3 comments
Open

mysqldump error #17

perler opened this issue Nov 15, 2019 · 3 comments

Comments

@perler
Copy link

perler commented Nov 15, 2019

on strangle only some of my instances I get this error:

mysqldump: Couldn't execute 'SHOW FIELDS FROM host_summary': View 'sys.host_summary' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to u se them (1356)

the mysql servers that are backed up are mysql 5.7 on ubuntu 18.04.

google says: https://www.osso.nl/blog/mysql-sys-schema-mysqldump-failure/

could you have a look?

@dsteinkopf
Copy link
Owner

Hmm. I am doing several mysql backups using this script (within the docker image https://hub.docker.com/repository/docker/dsteinkopf/backup-all-mysql). Some of them use mysql 5.7. I've never seen this error. How can I help you?

@perler
Copy link
Author

perler commented Nov 15, 2019 via email

@thib3113
Copy link
Contributor

I got the same error . And I fix it by running mysql_upgrade -u root -p on the server, to upgrade the mysql database . ( updating mysql doesn't always update the system database )

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

3 participants