MySQL & MariaDB error 4121 ER_TP_QUERY_THRS_PER_GRP_EXCEEDS_TXN_THR_LIMIT
Same number, two different errors. 4121 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLQuery threads count(…) exceeds transaction threads limit(…) per group. Please use query threads count per group smaller or equal to max transaction threads limit per group