> ## 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.

# mysql_* server settings

> ClickHouse server settings in the mysql_* generated group.

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
  }}>Type</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>Default</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          Changeable without restart
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

These settings configure the ClickHouse server and are autogenerated from ClickHouse source.

<h2 id="mysql_port">
  mysql\_port
</h2>

Port for communicating with clients over MySQL protocol.

<Note>
  * Positive integers specify the port number to listen to
  * Empty values are used to disable communication with clients over MySQL protocol.
</Note>

**Example**

```xml theme={null}
<mysql_port>9004</mysql_port>
```

<h2 id="mysql_require_secure_transport">
  mysql\_require\_secure\_transport
</h2>

<SettingsInfoBlock type="Bool" default_value="0" changeable_without_restart="No" />If set to true, secure communication is required with clients over [mysql\_port](/docs/reference/settings/server-settings/settings/mysql#mysql_port). Connection with option `<--ssl-mode=none>` will be refused. Use it with [OpenSSL](/docs/reference/settings/server-settings/settings/other#openssl) settings.
