Have you set the site PHP to run mysqli as 3.1 uses that instead of MySQL that 2 uses?
I also had this problem when I setup with a new host that had a security certificate, sometime it would go to the HTTPS and work other times it would hit HTTP and fail. The workaround was to put a line in the site PHP to force HTTPS
Sent: Tuesday, 18 October 2022 10:55 AM
To: Digest recipients
Subject: [gallery-3-users] Digest for gallery...@googlegroups.com - 1 update in 1 topic
Matthew Smyth <matthe...@gmail.com>: Oct 17 05:21PM -0700
You received this digest because you're subscribed to updates for this group. You can change your settings on the
group membership page.