mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
MySQL: Update documentation around timezone (#79213)
* MySQL: Update documentation around timezone * Update docs/sources/datasources/mysql/_index.md Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com> * Update formatting * see -> refer to --------- Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
This commit is contained in:
parent
2d18961768
commit
b2b4e8f68d
@ -48,7 +48,7 @@ Administrators can also [configure the data source via YAML](#provision-the-data
|
|||||||
| **Database** | Name of your MySQL database. |
|
| **Database** | Name of your MySQL database. |
|
||||||
| **User** | Database user's login/username |
|
| **User** | Database user's login/username |
|
||||||
| **Password** | Database user's password |
|
| **Password** | Database user's password |
|
||||||
| **Session Timezone** | Specifies the time zone used in the database session, such as `Europe/Berlin` or `+02:00`. Required if the timezone of the database (or the host of the database) is set to something other than UTC. Set the value used in the session with `SET time_zone='...'`. If you leave this field empty, then the time zone is not updated. For more information, refer to the [MySQL documentation](https://dev.mysql.com/doc/en/time-zone-support.html). |
|
| **Session Timezone** | Specifies the timezone used in the database session, such as `Europe/Berlin` or `+02:00`. Required if the timezone of the database (or the host of the database) is set to something other than UTC. Set this to `+00:00` so Grafana can handle times properly. Set the value used in the session with `SET time_zone='...'`. If you leave this field empty, the timezone will not be updated. For more information, refer to [MySQL Server Time Zone Support](https://dev.mysql.com/doc/en/time-zone-support.html). |
|
||||||
| **Max open** | The maximum number of open connections to the database, default `100` (Grafana v5.4+). |
|
| **Max open** | The maximum number of open connections to the database, default `100` (Grafana v5.4+). |
|
||||||
| **Max idle** | The maximum number of connections in the idle connection pool, default `100` (Grafana v5.4+). |
|
| **Max idle** | The maximum number of connections in the idle connection pool, default `100` (Grafana v5.4+). |
|
||||||
| **Auto (max idle)** | Toggle to set the maximum number of idle connections to the number of maximum open connections (available in Grafana v9.5.1+). Default is `true`. |
|
| **Auto (max idle)** | Toggle to set the maximum number of idle connections to the number of maximum open connections (available in Grafana v9.5.1+). Default is `true`. |
|
||||||
|
@ -177,11 +177,12 @@ export const ConfigurationEditor = (props: DataSourcePluginOptionsEditorProps<My
|
|||||||
<Tooltip
|
<Tooltip
|
||||||
content={
|
content={
|
||||||
<span>
|
<span>
|
||||||
Specify the time zone used in the database session, e.g. <code>Europe/Berlin</code> or
|
Specify the timezone used in the database session, such as <code>Europe/Berlin</code> or
|
||||||
<code>+02:00</code>. This is necessary, if the timezone of the database (or the host of the
|
<code>+02:00</code>. Required if the timezone of the database (or the host of the database) is
|
||||||
database) is set to something other than UTC. The value is set in the session with
|
set to something other than UTC. Set this to <code>+00:00</code> so Grafana can handle times
|
||||||
<code>SET time_zone='...'</code>. If you leave this field empty, the timezone is not
|
properly. Set the value used in the session with <code>SET time_zone='...'</code>. If
|
||||||
updated. You can find more information in the MySQL documentation.
|
you leave this field empty, the timezone will not be updated. You can find more information in
|
||||||
|
the MySQL documentation.
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user