MariaDB contains more flags in the last 4 bytes of the 10 bytes filter (the reserved field) of HandshakeV10Request, which expands capabilities to 64 bits.
The CLIENT_MYSQL=1 flag is used to indicate whether to use the MySQL compatible protocol. MariaDB 10.2 and above will unset this flag. If this flag is unset, the server is assumed to be MariaDB.
Note that in the MySQL server, this flag is called LONG_PASSWORD, and it is not currently used by r2dbc-mysql. We can consider reinterpreting it for support MariaDB.
MariaDB contains more flags in the last 4 bytes of the 10 bytes filter (the reserved field) of
HandshakeV10Request
, which expands capabilities to 64 bits.The
CLIENT_MYSQL=1
flag is used to indicate whether to use the MySQL compatible protocol. MariaDB 10.2 and above will unset this flag. If this flag is unset, the server is assumed to be MariaDB.Note that in the MySQL server, this flag is called
LONG_PASSWORD
, and it is not currently used byr2dbc-mysql
. We can consider reinterpreting it for support MariaDB.See also https://mariadb.com/kb/en/connection/#capabilities