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

Performance schema and Sysschema installation for MariaDB >= 10.4 fails #556

Closed
jeremyj11 opened this issue Jun 18, 2021 · 1 comment
Closed

Comments

@jeremyj11
Copy link

jeremyj11 commented Jun 18, 2021

mysql -u root -p < ./sys_10.sql
on mariadb >= 10.4 fails with:

ERROR 1054 (42S22) at line 78 in file: './views/p_s/metrics_56.sql': Unknown column 'STATUS' in 'field list'

Due to:
prometheus/mysqld_exporter#494

Solution is to change line 78 in file: './views/p_s/metrics_56.sql' from:
IF(STATUS,'enabled'
to
IF(ENABLED,'1'

@jmrenouard
Copy link
Collaborator

Duplicate with #547

Solution: Pull requet to GitHub project FromDual/mariadb-sys
FromDual/mariadb-sys#2

Sys schema included in next MariaDB version

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