MariaDB: add connection pooling support

Signed-off-by: swpd <swpdtz@gmail.com>