grafana/public/app/plugins/datasource/mysql
kay delaney bad048b7ba
Performance: Standardize lodash imports to use destructured members (#33040)
* Performance: Standardize lodash imports to use destructured members
Changes lodash imports of the form `import x from 'lodash/x'` to
`import { x } from 'lodash'` to reduce bundle size.

* Remove unnecessary _ import from Graph component

* Enforce lodash import style

* Fix remaining lodash imports
2021-04-21 09:38:00 +02:00
..
img mysql: began work on backend macro engine 2017-04-19 10:10:08 +02:00
partials SqlDataSources: Fixes the Show Generated SQL button in query editors (#31236) 2021-02-16 13:10:40 +01:00
specs Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
datasource.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02: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 Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
plugin.json Chore: show grafana labs not project (#23913) 2020-04-26 15:34:56 -07:00
query_ctrl.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
README.md MySQL: Update README.md (#29003) 2020-11-11 07:47:08 +01:00
response_parser.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
sql_part.ts noImplicitAny: Sub 3000 errors (#17821) 2019-07-01 11:11:57 +02:00
types.ts Mysql: Support request cancellation properly (Uses new backendSrv.fetch Observable request API) (#27649) 2020-09-25 12:46:28 +02:00

MySQL Data Source - Native Plugin

Grafana ships with a built-in MySQL data source plugin that allows you to query and 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/