File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,10 @@ The following block shows all possible configuration keys:
363
363
to find your PostgreSQL version and ``mysql -V `` to get your MySQL
364
364
version).
365
365
366
- Always wrap the server version number with quotes to parse it as a string
366
+ If you are running a MariaDB database, you should prefix the ``server_version ``
367
+ with ``mariadb- `` (e.g. ``server_version: mariadb-10.2.12 ``).
368
+
369
+ Always wrap the server version number with quotes to parse it as a string
367
370
instead of a float number. Otherwise, the floating-point representation
368
371
issues can make your version be considered a different number (e.g. ``5.6 ``
369
372
will be rounded as ``5.5999999999999996447286321199499070644378662109375 ``).
You can’t perform that action at this time.
0 commit comments