Again: Error 1054: Unknown column 'performance_schema.events_statements_summary_by_digest.QUERY_SAMPLE_TEXT' in 'field list'
Description
How to test
How to document
Attachments
Smart Checklist
Activity

Carlos Salguero June 7, 2022 at 6:12 PM
Thanks

Vadym Yarosh June 3, 2022 at 8:27 PM
there is no need to doublecheck since I've got the correct scenario to reproduce the issue. And the fix works fine. The difference is that I have pmm-agent in container and logs are there but not on the pmm server side. Attached files launches Debian 10 with MariaDB 10.3 version.

Vadym Yarosh June 3, 2022 at 2:19 PMEdited
Adjusted my comment and scenario, for the pmm-client container logs are is the docker.
So the correct place to look for target error is
I'm able to reproduce the issue and confirm the fix.

Carlos Salguero June 3, 2022 at 10:55 AM
PMM 2.29 is planned for the end of June. There will be the standard client/server packages you can download.

Ingo Zansinger June 3, 2022 at 10:30 AM
Thank you folks so far
@Vadym I'm not (yet) that into docker but imho your scenario is correct.
Just for double check you could dump the two SQL version variables to see if they match mine.
PS: any clue how long it aprox. will take till this bugfix makes it's way into the debian repository / there will be a temporary .deb?
Details
Details
Assignee

Reporter

Priority

Components
Labels
Needs QA
Fix versions
Story Points
Environment
Debian 11
Smart Checklist
Open Smart Checklist
Smart Checklist

User impact:
pmm-agent.log is cluttered with 'Unknown column...' errors when MariaDB from Debian package (10.2, 10.3, 10.4, 10.5) is added to monitoring
STR:
Install PMM Server and Client
Add MariaDB to PMM
Check pmm-agent.log
Result:
How to test.
How to test example
1. Start PMM server.
2. Start a MariaDB instance from a Debian distribution.
For my tests I started a Debian docker container and then manually installed MariaDB inside it.
3. Get your local IP address to use it when adding the MariaDB instance to PMM
4. Config pmm-admin inside the pmm-server docker container.
5. Add the MariaDB instance
6. Check there are no errors in the log (the output should be empty).
Solution:
Check if vendor is Debian, and the version string has mariadb, set vendor as mariadb