> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ajustes de sesión mysql_*

> Ajustes de sesión de ClickHouse en el grupo generado mysql_*.

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>Tipo</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>Predeterminado</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          Modificable sin reiniciar
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

Estos ajustes están disponibles en [system.settings](/docs/es/reference/system-tables/settings) y se generan automáticamente a partir del [código fuente](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

<div id="mysql_datatypes_support_level">
  ## mysql\_datatypes\_support\_level
</div>

<SettingsInfoBlock type="MySQLDataTypesSupport" default_value="decimal,datetime64,date2Date32,geometry" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.7"},{"label": "decimal,datetime64,date2Date32,geometry"},{"label": "Asigna de forma predeterminada los tipos espaciales concretos de MySQL (LINESTRING, POLYGON, MULTILINESTRING, MULTIPOLYGON) y el tipo genérico GEOMETRY a los tipos geométricos correspondientes de ClickHouse. La columna genérica GEOMETRY se asigna al tipo general Geometry; leer un valor cuyo subtipo no tiene equivalente en ClickHouse (MULTIPOINT, GEOMETRYCOLLECTION) genera una excepción en tiempo de lectura."}]}, {"id": "row-2","items": [{"label": "26.3"},{"label": "decimal,datetime64,date2Date32"},{"label": "Habilita de forma predeterminada las correspondencias de tipos modernas de MySQL."}]}]} />

Define cómo se convierten los tipos de MySQL en los tipos correspondientes de ClickHouse. Es una lista separada por comas con cualquier combinación de `decimal`, `datetime64`, `date2Date32`, `date2String` o `geometry`. Todas las correspondencias modernas (`decimal`, `datetime64`, `date2Date32`, `geometry`) están habilitadas de forma predeterminada.

* `decimal`: convierte los tipos `NUMERIC` y `DECIMAL` a `Decimal` cuando la precisión lo permite.
* `datetime64`: convierte los tipos `DATETIME` y `TIMESTAMP` a `DateTime64` en lugar de `DateTime` cuando la precisión no es `0`.
* `date2Date32`: convierte `DATE` a `Date32` en lugar de `Date`. Tiene precedencia sobre `date2String`.
* `date2String`: convierte `DATE` a `String` en lugar de `Date`. Queda sobrescrito por `datetime64`.
* `geometry`: convierte los tipos espaciales de MySQL (`LINESTRING`, `POLYGON`, `MULTILINESTRING`, `MULTIPOLYGON`) en los tipos geométricos correspondientes de ClickHouse, y el tipo genérico `GEOMETRY` en el tipo general `Geometry`. `POINT` siempre se convierte a `Point` independientemente de esta opción. Como una columna genérica `GEOMETRY` puede contener cualquier subtipo, leer un valor cuyo subtipo no tiene equivalente en ClickHouse (`MULTIPOINT`, `GEOMETRYCOLLECTION`) genera una excepción en tiempo de lectura; las columnas declaradas como `MULTIPOINT` o `GEOMETRYCOLLECTION` se asignan a `String`.

<div id="mysql_max_rows_to_insert">
  ## mysql\_max\_rows\_to\_insert
</div>

<SettingsInfoBlock type="UInt64" default_value="65536" />

El número máximo de filas en la inserción por lotes de MySQL del motor de almacenamiento MySQL
