MySQL & MariaDB error 4059 ER_PLUGIN_REGISTRATION_DONE
Same number, two different errors. 4059 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLThe registration for … factor authentication method is already completed. You cannot perform registration multiple times.
MariaDBCan't execute updates when you started a transaction with START TRANSACTION WITH CONSISTENT [ROCKSDB] SNAPSHOT.