On Sat, Jun 27, 2026 at 12:03 PM [email protected] <[email protected]> wrote:

> > MySQL server. You had a "Cannot connect" error on startup, so there is
> something flaky about the connection.
>
> It seems weewx starts up earlier than mysql, and thus fails to connect.
> It also seems to shut down earlier (on system shutdown or reboot) than
> mysql, leading to errors then.
>
> Enabling the general query log and following it doesn't show anything
> obvious.  Nothing gets logged to the slow query log.
>

It should show the types of queries running and how long they take. Are you
saying they were all quick?  The time *must* be going somewhere!

Trying to rule out sources of a slowdown, I moved the VM storage to a local
> disk (it had been over the network), and again rebooted.  And it now
> quickly generates the index.html page for the Seasons report, but it still
> seems to be struggling to create the --
>

Good idea. Try using sqlite and see if that's faster.

-tk

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDZBNVgPpgUcHtSyPUmYs6qKeVicmHsggKaLPMcYGv4dQ%40mail.gmail.com.

Reply via email to