Joe, Have you actually tried this? The logic picks a socket if the name has a slash in it, but host IP addresses can also have a slash. E.g., https://acme.com
On Mon, Feb 6, 2023 at 12:02 PM Joe Smooze <[email protected]> wrote: > For those of us that prefer domain sockets to TCP for mysql. > > This just looks for a slash in 'host = ' in the [[MySQL]] stanza of > weewx.conf and then uses mysql.sock instead of TCP to connect to the > database. > > Regards, > Joe > > > -- > You received this message because you are subscribed to the Google Groups > "weewx-development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-development/5eeaa553-9b04-499a-8efa-79f9303ca274n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/5eeaa553-9b04-499a-8efa-79f9303ca274n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/CAPq0zEC%3DoYctV0LFh0tKHtphWhH4RFjXy0H5Zxpi%2BHbOtvhTdg%40mail.gmail.com.
