grafana/public/app/plugins/datasource/mysql
Zoltán Bedi 62c30dea4d
MySQL: Quote identifiers that include special characters (#61135)
* SQL: toRawSQL required and escape table

* Fix autocomplete for MySQL

* Change the way we escape for builder

* Rework escape ident to be smart instead

* Fix A11y for alias

* Add first e2e test

* Add test for code editor

* Add doc

* Review comments

* Move functions to sqlUtil
2023-01-31 18:16:28 +01:00
..
configuration SQL Datasources: Move database setting to jsonData (#58649) 2022-12-13 09:56:52 +01:00
img mysql: began work on backend macro engine 2017-04-19 10:10:08 +02:00
specs PostgreSQL: Migrate to React (#52831) 2022-11-02 11:30:35 +07:00
fields.ts mysql query editor - angular to react (#50343) 2022-07-15 16:49:24 -04:00
module.ts mysql query editor - angular to react (#50343) 2022-07-15 16:49:24 -04:00
MySqlDatasource.ts MySQL: Quote identifiers that include special characters (#61135) 2023-01-31 18:16:28 +01:00
mySqlMetaQuery.test.ts MySQL: Quote identifiers that include special characters (#61135) 2023-01-31 18:16:28 +01:00
mySqlMetaQuery.ts MySQL: Quote identifiers that include special characters (#61135) 2023-01-31 18:16:28 +01:00
plugin.json Plugins: Set backend metadata property for core plugins (#43349) 2021-12-22 17:59:26 +01:00
README.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
sqlCompletionProvider.ts MySQL: Quote identifiers that include special characters (#61135) 2023-01-31 18:16:28 +01:00
sqlUtil.test.ts MySQL: Quote identifiers that include special characters (#61135) 2023-01-31 18:16:28 +01:00
sqlUtil.ts MySQL: Quote identifiers that include special characters (#61135) 2023-01-31 18:16:28 +01:00
types.ts PostgreSQL: Migrate to React (#52831) 2022-11-02 11:30:35 +07: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/