MySQL & MariaDB error 4102 ER_SET_PASSWORD_AUTH_PLUGIN_ERROR
Same number, two different errors. 4102 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLSET PASSWORD has no significance for user '…'@'…' as the authentication method used doesn't store authentication data in the MySQL server. Please consider using ALTER USER instead if you want to change authentication parameters.
MariaDBArgument to the … function is not a constant for a partition