[sork] passwd ignores hostspec parameter in backends.php

Chuck Hagenbuch chuck at horde.org
Mon Apr 24 07:33:28 PDT 2006


Quoting Joris <joris at ideeel.nl>:

> backends.php:
> * 'hostspec'   => 'mysql.ideeel.net',
> '* username'   => 'UNAMEFORPASSWD',
>
> and Mysql log:
> *  2726 Connect     Access denied for user 'UNAMEFORPASSWD'@'localhost'
> * (using password: YES)

Look for these lines in your version of the passwd sql driver:

     /* Use defaults from Horde, but allow overriding in backends.php. */
     $this->_params = array_merge(Horde::getDriverConfig('', 'sql'), $params);

Before that line, put:
     echo '<pre>';
     var_dump($params);

After that line, put:
     var_dump($this->_params);
     echo '</pre>';

See what that shows.

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the sork mailing list