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

2015-07-21 Thread Rodrigo Pimenta Carvalho
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-boun...@lists.opensips.org users-boun...@lists.opensips.org em nome 
de Alex Ionescu a...@opensips.org
Enviado: terça-feira, 21 de julho de 2015 05:44
Para: users@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@lists.opensips.orgmailto:Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2015-07-21 Thread Alex Ionescu

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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2015-07-20 Thread Rodrigo Pimenta Carvalho
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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users