Hi TheSin,

On 04-04-16 18:46, TheSin wrote:
> I believe the real issue isn’t with adodb, it’s line 38 of 
> /usr/share/cacti/site/lib/database.php

Without any change except for database_type, my testing was already
successful. Do you have any idea when and how this code would be triggered?

> $dsn = "$db_type://" . rawurlencode($user) . ":" . rawurlencode($pass) . "@" 
> . rawurlencode($host) . "/" . rawurlencode($db_name) . "?persist”;
> 
> I believe we must remove the persist, so it no longer uses _pconnect in 
> adodb, and it’ll switch to using _connect instead.
> 
> This is untested though I plan to test it in a bit, but I believe this should 
> fix it.

As said, switching from mysql to mysqli already fixed issues. Are you
sure there is more that needs fixing?

Paul


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to