The unix_socket option is not in the WeeWX documentation because it is
actually a PyMySQL option. WeeWX merely passes it on. See their
documentation
<https://pymysql.readthedocs.io/en/latest/modules/connections.html> for
details on it any the many other options they offer.

-tk

On Sun, Mar 17, 2019 at 2:11 PM dkorevaar <dkorev...@gmail.com> wrote:

> Hi Thomas,
>
> You are entirely right, adding the line with the socket in weewx.conf
> fixed that issue. However, the line is:
>
> unix_socket = /var/run/mysql/mysql.sock
>
> so unix_socket, not socket. The quotes do not seem necesssary.
>
> This option (unix_socket) is not described in the userguide in the
> Documentation tab of the website which led me to add it in the mysql.py
> file.
>
> Regards,
> dkorevaar
>
> --
> 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.
>

-- 
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