[Camps-users] psql error when configured for mysql

Russell Steinert info at shopbutternut.com
Fri Aug 31 18:56:44 UTC 2012


On 8/31/12 2:54 PM, Jon Jensen wrote:
> On Thu, 30 Aug 2012, Russell Steinert wrote:
>
>> Occasionally when running test instances of mkcamp, we get an error 
>> "ERROR 2002 (HY000): Can't connect to local MySQL server through 
>> socket '/home/camp/camp[camp no.]/mysql/tmp/mysql.[camp no.].sock' 
>> (2) Error piping command to psql:"
>>
>> We are configured for MySQL. Why would it reference PostgreSQL or am 
>> I misreading this?
>
> The error message just wrongly always said psql, since mysql support 
> was added later on. I just pushed an update that says "database" 
> generically instead. :)
>
>> Most of the time the script connects just fine.  Only happens 
>> occasionally.
>
> Strange. I've never seen that with MySQL or Postgres. I wonder if it's 
> a timing problem, where the MySQL server may not be fully ready when 
> we're sending that command.
>
> Jon
>
Thanks, Jon!  Much appreciated!  ~Russell


More information about the Camps-users mailing list