MySQL & MariaDB error 4082 ER_DA_CONN_LIMIT
Same number, two different errors. 4082 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLConnection closed. Connection memory limit … bytes exceeded. Consumed … bytes.
MariaDBRow variable '…' does not have a field '…'