Re: passwd ignores hostspec parameter in backends.php

Chuck Hagenbuch <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
Quoting Joris <[email protected]>:

> 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
-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.