[Dovecot] mysql authentication problems
Pedro Vieira
pedro.vieira at fubu.pt
Fri Apr 28 23:18:06 EEST 2006
Problem solved....
that "d" that was missing was the source of all my problems.
Thank you all for your help! :)
Pedro
Jon Baker wrote:
> Can you see a file located at /var/run/mysqld/mysql.sock?
>
> What is the contents of my.cnf?
>
> On Apr 27, 2006, at 6:56 PM, Pedro Vieira wrote:
>
>> I have mysql running and I can log in from command line, make queries
>> both from command line and external software (apache+php)...
>>
>> Jon Baker wrote:
>>> What happens if you type mysql at the command line?
>>>
>>> On Apr 27, 2006, at 6:42 PM, Pedro Vieira wrote:
>>>
>>>> Already did it... now i have this error:
>>>>
>>>> dovecot-auth: MySQL: Can't connect to database dovecot: Can't
>>>> connect to local MySQL server through socket
>>>> '/var/run/mysqld/mysql.sock' (2)
>>>>
>>>>
>>>> I already have smoke comming out of my head.... :S
>>>>
>>>> Jon Baker wrote:
>>>>> Um... uncomment your socket line perhaps?
>>>>>
>>>>> On Apr 27, 2006, at 5:46 PM, Pedro Vieira wrote:
>>>>>
>>>>>> db_host = localhost
>>>>>> db_port = 3306
>>>>>> #db_unix_socket = /var/run/mysqld/mysql.sock
>>>>>> db = mydovecotdb
>>>>>> db_user = mydovecotuser
>>>>>> db_passwd = mydbpasswd
>>>>>> db_client_flags = 0
>>>>>
>>>>
>>>
>>>
>>
>
>
More information about the dovecot
mailing list