Reinit database in osipsconsole not working

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Reinit database in osipsconsole not working

Joan-2-2
Hello again,

There's a problem with osipsconsole when trying to reinit the database
to the default values.
It's around line 6780 in the mysql_query() function.
The problem is that this funcion doesn't receive the $PW, so it tries
to connect to the database as root without password. In scenarios when
there's a password for the root user, the database reinitialization
doesn't work.

Regards

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Reinit database in osipsconsole not working

Iulia Bublea-2
Joan wrote:

> Hello again,
>
> There's a problem with osipsconsole when trying to reinit the database
> to the default values.
> It's around line 6780 in the mysql_query() function.
> The problem is that this funcion doesn't receive the $PW, so it tries
> to connect to the database as root without password. In scenarios when
> there's a password for the root user, the database reinitialization
> doesn't work.
>
> Regards
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>  
Hi Joan,

Bug regarding the mysql connection with/without password was fixed in
revision 5254.

Regards,
Iulia

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users