# MaxScale 24.02 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://mariadb.com/docs/maxscale/maxscale-archive/archive/mariadb-maxscale-24-02/maxscale-24-02getting-started/mariadb-maxscale-2402-maxscale-2402-mariadb-maxscale-configuration-guide)
* 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\).

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
