-
Notifications
You must be signed in to change notification settings - Fork 126
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
Table 'performance_schema.global_status' doesn't exist #5
Comments
Same issue here. |
|
in variable dashboard (MyVar2) replace with : select concat('MySQL version: ',version(), ' Created at: ', date_format(min(create_time),'%Y-%m-%d %T') , Global_status table is contained information_schema and not in performance_schema. The same problem is in the my2.sql. |
MySQL 5.7 and 8.0 use performance_schema while older MySQL versions and MariaDB use information_schema. my2.sql code tries to use the right schema for the running version but it is not bullet proof. For Grafana dashboards I have 2 different versions... maybe I'll do the same for the my2 collector. Which fork and version are You using? |
Grafana dashboards for MySQL and MariaDB are different |
I'm adding extra information to deal with the missing table. First check where the table actually is. It may be at information_schema or performance_schema. Also you may enable performance schema at my.conf or mysqld.conf |
after importing my2 dashboard on grafana i get this err message on page load and nothing works.
![image](https://user-images.githubusercontent.com/13715024/77655271-cd160400-6f8f-11ea-97ac-0a1a3f141953.png)
I imported my2.sql with no issue. and also created a new datasource for my2 database with my2 user.
my mysql info: mysql Ver 15.1 Distrib 10.1.44-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
The text was updated successfully, but these errors were encountered: