That's not a hostname. https://example.com is a URL. / is not an allowed character in a hostname.
On Monday, February 20, 2023 at 6:10:57 PM UTC-5 Tom Keffer wrote: 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/06cbc313-9c72-47e0-9c31-1d82fc358c3dn%40googlegroups.com.
