[OpenSIPS-Users] OpenSIPS-CP + SQLite. Possible?

Rodrigo Pimenta Carvalho pimenta at inatel.br
Tue Jul 21 13:58:41 CEST 2015


Hi Alex.

Thank you very much.

As soon as I get it running well, I will let you know, in this list.

Regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979    (Brasil)
________________________________
De: users-bounces at lists.opensips.org <users-bounces at lists.opensips.org> em nome de Alex Ionescu <alex at opensips.org>
Enviado: terça-feira, 21 de julho de 2015 05:44
Para: users at lists.opensips.org
Assunto: Re: [OpenSIPS-Users] OpenSIPS-CP + SQLite. Possible?

Hi,

Actually it should be very possible. OpenSIPS-CP uses Pear MDB2 database abstraction layer.
So all you need to do is installing Pear MDB2 SQLite driver. (https://pear.php.net/package/MDB2_Driver_sqlite) and adjust the (config/db.inc.php) accordingly ($config->db_driver = "sqllite";)


The guys from Pear say that MDB2 currently supported database backends are:

fbsql  -> FrontBase
ibase  -> InterBase / Firebird (requires PHP 5)
mssql  -> Microsoft SQL Server (NOT for Sybase. Compile PHP --with-mssql)
mysql  -> MySQL
mysqli -> MySQL (supports new authentication protocol) (requires PHP 5)
oci8   -> Oracle 7/8/9/10
pgsql  -> PostgreSQL
querysim -> QuerySim
sqlite -> SQLite 2


I haven't tested this but if you do it just let us know how it went.

Hope this helps you.

Best regards,
Alex


On 20.07.2015 23:10, Rodrigo Pimenta Carvalho wrote:

Hi.

Just to confirm:


Nowadays it is not possible to use OpenSIPS Control Panel and SQLite, is it?


Regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979    (Brasil)



_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150721/4ceed67c/attachment.htm>


More information about the Users mailing list