#36 Presence examples can cause database permissions problem

trunk
closed-fixed
Anca Vamanu
docs (20)
5
2008-10-27
2008-10-25
Norm Brandinger
No

The following Presence examples will cause a database permissions problem if the OpenSIPS username/password has been changed from the default value

http://opensips.org/index.php?n=Resources.SimplePresConfig

http://opensips.org/index.php?n=Resources.PuaUsrlocConfig

http://opensips.org/index.php?n=Resources.PuaXmppConfig

http://opensips.org/index.php?n=Resources.PuaBlaConfig

http://opensips.org/index.php?n=Resources.RlsConfig

Adding the following line to the examples should resolve this problem:

modparam("presence_xml", "db_url", "mysql://opensips:opensipsrw@127.0.0.1/opensips")

Most people change the default username and/or password for access to the OpenSIPS database.

The example shows where the db_url's need to be changed, except for presence_xml. Without the above line being changed, the default OpenSIPS username/password will be used and a failure during startup will happen.

Adding the above line will clearly show the users of the examples what db_url's need to be modified.

Regards,
Norm

Discussion

  • Anca Vamanu
    Anca Vamanu
    2008-10-27

    Hi Norm,

    Thank you for the report. It is fixed now.

    regards,
    Anca

     
  • Anca Vamanu
    Anca Vamanu
    2008-10-27

    • assigned_to: nobody --> anca_vamanu
    • status: open --> closed-fixed