grafana/public/app/plugins/datasource/mysql
Hugo Häggmark 31ad86ffc0
TemplateSrv: deprecates templateSrv.variables and adds getVariables (#23026)
* TemplateSrv: deprecates templateSrv.variables and adds getVariables

* Update public/app/plugins/datasource/postgres/query_ctrl.ts

Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com>

* Update public/app/plugins/datasource/stackdriver/components/VariableQueryEditor.test.tsx

Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com>

* Update public/app/plugins/datasource/cloudwatch/datasource.ts

Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com>

* Update public/app/plugins/datasource/mysql/query_ctrl.ts

Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com>

* Chore: updates after PR comments

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-03-24 16:03:53 +01:00
..
img mysql: began work on backend macro engine 2017-04-19 10:10:08 +02:00
partials Postgres/MySQL/MSSQL: Adds support for region annotations (#20752) 2019-12-13 17:25:36 +01:00
specs Chore: Remove angular dependency from backendSrv (#20999) 2020-01-21 10:08:07 +01:00
datasource.ts Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
meta_query.ts noImplicitAny: Sub 3000 errors (#17821) 2019-07-01 11:11:57 +02:00
module.ts Security: Store datasource passwords encrypted in secureJsonData (#16175) 2019-04-15 11:11:17 +02:00
mysql_query.ts Refactor: move ScopedVars to grafana/data (#18992) 2019-09-10 12:06:01 -07:00
plugin.json Chore: Remove unused properties in explore (#17359) 2019-05-31 09:45:53 +02:00
query_ctrl.ts TemplateSrv: deprecates templateSrv.variables and adds getVariables (#23026) 2020-03-24 16:03:53 +01:00
README.md plugins: update meta data for all core plugins 2018-02-15 16:50:38 +01:00
response_parser.ts Postgres/MySQL/MSSQL: Adds support for region annotations (#20752) 2019-12-13 17:25:36 +01:00
sql_part.ts noImplicitAny: Sub 3000 errors (#17821) 2019-07-01 11:11:57 +02:00
types.ts Explore: Expand template variables when redirecting from dashboard panel (#19582) 2019-10-08 17:01:20 +02:00

MySQL Data Source - Native Plugin

Grafana ships with a built-in MySQL data source plugin that allow you to query any visualize data from a MySQL compatible database.

Adding the data source

  1. Open the side menu by clicking the Grafana icon in the top header.
  2. In the side menu under the Dashboards link you should find a link named Data Sources.
  3. Click the + Add data source button in the top header.
  4. Select MySQL from the Type dropdown.

Read more about it here:

http://docs.grafana.org/features/datasources/mysql/