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

Starting ps-top fails with error XXX'Error 1146 'XXX #19

Closed
nikolaps opened this issue Jun 29, 2023 · 2 comments
Closed

Starting ps-top fails with error XXX'Error 1146 'XXX #19

nikolaps opened this issue Jun 29, 2023 · 2 comments

Comments

@nikolaps
Copy link

Hello,
Trying to run ps-top on mysql 5.6, but it fails with the following error:
2023/06/29 13:47:28 mylog.go:45: Unexpected errorXXX'Error 1146 'XXX

Checked the code memoryusage/rows.go the missing table is performance_schema.memory_summary_global_by_event_name, and indeed I don't have one. How can I ignore this check if I don't need the memory statistics anyway?

Thank you.

@sjmudd
Copy link
Owner

sjmudd commented Oct 25, 2023

I've just noticed your comment.
I really haven't looked back at MySQL 5.6 as that's not just old but very old and not really supported.
I will see if I can fix behaviour to handle this problem in 5.6.
However, I'd really encourage you to move to a later version of MySQL especially given that MySQL 5.7 is also end of life now.
Ideally you should be using MySQL 8.0 or later.

@sjmudd
Copy link
Owner

sjmudd commented Nov 11, 2023

I had a look and found the error was due to changes in https://github.com/go-sql-driver/mysql reporting of errors.
I think this should work now.
Please check on v1.1.8 or later.

@sjmudd sjmudd closed this as completed Nov 11, 2023
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