MySQL & MariaDB error 4012 ER_STARTING_REPLICA_MONITOR_IO_THREAD
Same number, two different errors. 4012 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLThe Replica Monitor thread failed to start.
MariaDBReferenced window specification '…' already contains order list