### Description
We need to connect to a cluster of mongodb hosts with some specific parameters.
The connection string has length more than 255 characters.
We could not connect to our mongodb.
### Troubleshooting
#### Reproduction
Use very long string for example like bellow
mongo0-pdb-demo.somedomain.com:27017,mongo1-pdb-demo.somedomain.com:27017,mongo2-pdb-demo.somedomain.com:27017/proxy-db-ft1?replicaSet=rs0&ssl=true&sslClientCertificateKeyFile=/etc/ssl/domain1234.pem&sslCertificateAuthorityFile=/etc/ssl/godaddy.pem
#### Log Messages
We got errors:
ERROR: <core> [db.c:168]: db_bind_mod(): SQL URL too long
ERROR: auth_db [auth_db_mod.c:173]: mod_init(): unable to bind to a database driver
### Additional Information
version: kamailio 4.4.7 (x86_64/linux)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1545