[horde] Problem PDO

Michael J Rubinsky mrubinsk at horde.org
Fri Feb 7 19:05:37 UTC 2014


Quoting David González <david.gonzalez at san.com.py>:

> Hello List!!
>
> Yesterday i begin to get this error in the time to access to my webmail
> site:
>
> Horde Webmail: [horde] Could not instantiate PDO with DSN
> "mysql:port=3306;protocol=tcp;host=127.0.0.1;dbname=xxxxx".  PDOException:
> SQLSTATE[28000] [1045] Access denied for user  
> 'xxxxx'@'myhostname.mydomain.tld'
> (using password: YES) [pid 32110 on line 46 of
> "/usr/share/pear/Horde/Db/Adapter/Pdo/Base.php"]

> I see a error because in my file config/conf.pp in the section of connect
> to my DB have:

The error has to do with the database user, not your authentication.  
It's telling you that the user that Horde is connecting to your  
database as does not authenticate. Check your database configuration.

>
> ............
> $conf['auth']['admins'] = array('root at mydomina.tld');
> $conf['auth']['checkip'] = true;
> $conf['auth']['checkbrowser'] = true;
> $conf['auth']['resetpassword'] = true;
> $conf['auth']['alternate_login'] = false;
> $conf['auth']['redirect_on_logout'] = false;
> $conf['auth']['list_users'] = 'list';
> $conf['auth']['params']['username'] = 'xxxxx';
> $conf['auth']['params']['password'] = 'XxXxX';
> $conf['auth']['params']['hostspec'] = 'localhost';
> $conf['auth']['params']['port'] = 3306;
> $conf['auth']['params']['protocol'] = 'tcp';
> $conf['auth']['params']['database'] = 'xxxxx';
> $conf['auth']['params']['charset'] = 'utf-8';
> $conf['auth']['params']['ssl'] = false;
> $conf['auth']['params']['splitread'] = false;
> $conf['auth']['params']['phptype'] = 'mysql';
> $conf['auth']['params']['driverconfig'] = 'custom';
> $conf['auth']['params']['table'] = 'mailbox';
> $conf['auth']['params']['username_field'] = 'username';
> $conf['auth']['params']['password_field'] = 'password';
> $conf['auth']['params']['encryption'] = 'crypt-md5';
> $conf['auth']['params']['show_encryption'] = false;
> $conf['auth']['driver'] = 'sql';
> ............
>
> Some body helpme??
>
> Thnak,
> David
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20140207/a2e1d814/attachment.bin>


More information about the horde mailing list