I found the solution...
in the new php.ini there is
 pdo_mysql.default_socket=
I set it to my mysql socket.. and now it works!!!


2009/9/23 andrea cecchetto <andrea.cecche...@gmail.com>:
> But  phpmyadmin use mysqli.. symfony uses pdo_mysql
>
> 2009/9/23 Romain de Wolff <rdewo...@gmail.com>:
>>
>> There seems to be a config problem.
>>
>> But your phpmyadmin works you said... so that could be in Symfony's
>> Project Config.
>>
>> Rom
>>
>> Le 23 sept. 2009 à 15:42, andrea cecchetto a écrit :
>>
>>>
>>> i rechecked my phpinfo()...
>>> and i found this:
>>> Directive     Local Value     Master Value
>>> pdo_mysql.cache_size  2000    2000
>>> pdo_mysql.default_socket      no value        no value
>>>
>>>
>>> no value??
>>>
>>>
>>> 2009/9/23 andrea cecchetto <andrea.cecche...@gmail.com>:
>>>> How I get this error:
>>>>       PDO Connection Error: SQLSTATE[HY000] [2002] Invalid argument
>>>>
>>>>
>>>> 2009/9/23 Eno <symb...@gmail.com>:
>>>>>
>>>>> On Wed, 23 Sep 2009, andrea cecchetto wrote:
>>>>>
>>>>>
>>>>>> PDO Connection Error: SQLSTATE[HY000] [2002] Connection refused
>>>>>>
>>>>>> i didn't do anything.
>>>>>>
>>>>>> What can i do??
>>>>>
>>>>> Did you clear cache and rebuild your models?
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>>
>>>>>>>
>>>>>
>>>>
>>>
>>> >
>>
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to