I recently upgraded from 1.36.12 (which had been working well for many months) to 1.36.18/19 and have lost the ability to connect to the [ZM] database via the API (I rely on this for zmNinja). I also performed some updates to the OS (Debian Bullseye), in which case I cannot rule this out as being the source of my issues. Anyway, I'm getting (using/testing via 'curl') a pretty generic error of:
"SQLSTATE[HY000] [2006] MySQL server has gone away"
ZM web interface works fine: MySQL server IS up and running. API calls for things like "getVersion" (not requiring a connection to the/a database?) works.
Getting these messages in mysql/error.log file:
[Warning] Aborted connection 13530 to db: 'unconnected' user: 'unauthenticated' host: 'localhost' (This connection closed normally without authentication)