Mariadb: unknown variable 'character-set-server=utf8mb4' when create new site

I got an error when creating a new site. I’m using mariadb 10.6, I can’t install mariadb 10.3.

mariadb: unknown variable ‘character-set-server=utf8mb4’
Table ‘tabDefaultValue’ missing in the restored site. Database not installed correctly, this can due to lack of permission, or that the database name exists. Check your mysql root password, validity of the backup file or use --force to reinstall