I am having trouble with the raspberry pi pre-built image and the new emoncms v5. I was able to flash my SD card with the new build and it was working but now i get this error message when trying to connect to the mysql server with
mysql -u root -p
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I downloaded the emoncmspiv5avr.img on 4-17-13
I also get to this error message when i visit the webserver.
The only thing I changed was I created a static IP address in the interfaces file. Would this throw off the mysql server?
Thanks,
Re: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Found the problem. I was not able to ping localhost on the machine. I traced that to a problem with how I setup the static IP.
All is well.