Quick guess is that your MySQL server isn't running. Try checking on it by 
typing sudo service mysql status, you should see somewhere in the output 
that it's running. If not, try sudo service mysql restart and then restart 
weewx and try again. 


On Sunday, August 19, 2018 at 12:48:21 AM UTC-4, John Clark wrote:
>
> I can't view weewx either locally or on my website, but it still seems to 
> ftp the info.
>
> I think I see what I did, but I don't know how to correct it.
>
> Aug 18 23:32:03 raspberrypi weewx[516]: wxcalculate: The following 
> algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
> Aug 18 23:32:03 raspberrypi weewx[516]: engine: Finished loading service 
> weewx.wxservices.StdWXCalculate
> Aug 18 23:32:03 raspberrypi weewx[516]: engine: Loading service 
> weewx.engine.StdArchive
> Aug 18 23:32:03 raspberrypi weewx[516]: engine: Archive will use data 
> binding wx_binding
> Aug 18 23:32:03 raspberrypi weewx[516]: engine: Record generation will be 
> attempted in 'hardware'
> Aug 18 23:32:03 raspberrypi weewx[516]: engine: Using archive interval of 
> 300 seconds (specified in weewx configuration)
> Aug 18 23:32:03 raspberrypi weewx[516]: engine: Use LOOP data in hi/low 
> calculations: 1
>
>
> /var/run/mysqld/mysqld.sock\ ?? me and my fat fingers.....
>
> Aug 18 23:32:03 raspberrypi weewx[516]: engine: Database OperationalError 
> exception: (2002, 'Can\'t connect to local MySQL server through socket 
> \'/var/run/mysqld/mysqld.sock\' (2 "No such file or directory")')
> Aug 18 23:32:03 raspberrypi weewx[516]:     ****  Waiting 2 minutes then 
> retrying...
>
>
> I suspect that " mysqld" is incorrect. If so, how do I fix it?
> -- 
> *John Clark <javascript:>*
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to