[Camps-users] psql error when configured for mysql

Jon Jensen jon at endpoint.com
Fri Aug 31 18:54:16 UTC 2012


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

-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/


More information about the Camps-users mailing list