# MaxScale 22.08 MariaDB Protocol Module

## MariaDB Protocol Module

## MariaDB Protocol Module

The `mariadbprotocol` module implements the MariaDB client-server protocol.

The legacy protocol names `mysqlclient`, `mariadb` and `mariadbclient` are all\
aliases to `mariadbprotocol`.

* [MariaDB Protocol Module](#mariadb-protocol-module)
  * [Configuration](#configuration)
    * [allow\_replication](#allow_replication)

### Configuration

Protocol level parameters are defined in the listeners. They must be defined\
using the scoped parameter syntax where the protocol name is used as the prefix.

```
[MyListener]
type=listener
service=MyService
protocol=mariadbprotocol
mariadbprotocol.allow_replication=false
port=3306
```

For the MariaDB protocol module, the prefix is always `mariadbprotocol`.

#### `allow_replication`

* Type: [boolean](https://github.com/mariadb-corporation/mariadb-docs/blob/main/en/maxscale-2208-getting-started-mariadb-maxscale-configuration-guide/README.md#booleans)
* Mandatory: No
* Dynamic: Yes
* Default: true

Whether the use of the replication protocol is allowed through this listener. If\
disabled with `mariadbprotocol.allow_replication=false`, all attempts to start\
replication will be rejected with a ER\_FEATURE\_DISABLED error (error number\
1289\).

CC BY-SA / Gnu FDL
