← Volver al índice de módulos

db_mysql

This is a module which provides MySQL connectivity for Kamailio. It implements the DB API defined in Kamailio.
🗄️ Base de Datos Kamailio 6.1 16 parámetros

Descripción general

This is a module which provides MySQL connectivity for Kamailio. It implements the DB API defined in Kamailio.

Documentación oficial: https://www.kamailio.org/docs/modules/stable/modules/db_mysql.html
Código fuente: https://github.com/kamailio/kamailio/tree/master/src/modules/db_mysql

Parámetros de configuración

ParámetroTipoDescripción
ping_interval integer 3.2. server_timezone (integer) 3.3. timeout_interval (integer) 3.4. auto_reconnect (integer) 3.5. insert_delayed (integer) 3.6. update_affected_found (integer) 3.7. opt_ssl_mode (integer) 3.8. opt_ssl
server_timezone integer 3.3. timeout_interval (integer) 3.4. auto_reconnect (integer) 3.5. insert_delayed (integer) 3.6. update_affected_found (integer) 3.7. opt_ssl_mode (integer) 3.8. opt_ssl_ca (string)
timeout_interval integer 3.4. auto_reconnect (integer) 3.5. insert_delayed (integer) 3.6. update_affected_found (integer) 3.7. opt_ssl_mode (integer) 3.8. opt_ssl_ca (string)
auto_reconnect integer 3.5. insert_delayed (integer) 3.6. update_affected_found (integer) 3.7. opt_ssl_mode (integer) 3.8. opt_ssl_ca (string)
insert_delayed integer 3.6. update_affected_found (integer) 3.7. opt_ssl_mode (integer) 3.8. opt_ssl_ca (string)
update_affected_found integer 3.7. opt_ssl_mode (integer) 3.8. opt_ssl_ca (string)
opt_ssl_mode integer 3.8. opt_ssl_ca (string)
opt_ssl_ca string 3.1. ping_interval (integer)
ping_interval integer Time interval in seconds to send ping messages to MySQL server in order to keep the connection open.
server_timezone integer Control if kamailio converts a time to string using the local timezone or if MySQL will convert it using FROM_UNIXTIME. This option is useful if kamailio and the database are configured for different
timeout_interval integer Time interval (in seconds) after that a connection attempt, read or write request is aborted. The value counts three times, as several retries are done from the driver before it gives up.
auto_reconnect integer Configure whether the module should automatically reconnect to MySQL server if the connection was lost.
insert_delayed integer If set to 1, all INSERT SQL queries will be sent to MySQL server as INSERT DELAYED.
update_affected_found integer If set to 1, all UPDATE SQL queries will return the number of matched rows instead of the number of "updated" rows.
opt_ssl_mode integer Control how the connection to MySQL server is done in regards to SSL/TLS. If set to 1, SSL/TLS mode is disabled.
opt_ssl_ca string Configures the CA certs used to verify the MySQL server cert when SSL is enabled.

Autores y contribuidores

Daniel-Constantin Mierla <miconda@gmail.com>

Copyright © 2006 Voice Sistem SRL

Módulos relacionados

db2_ops db_cluster db_flatstore db_mongodb db_postgres db_redis db_sqlite db_text