While I try to create a new site it shows my.conf issueCreation of your site - mysite.localhost fail

Creation of your site - mysite.localhost failed because MariaDB is not properly
configured. If using version 10.2.x or earlier, make sure you use the
the Barracuda storage engine.

Please verify the settings above in MariaDB’s my.cnf. Restart MariaDB. And
then run bench new-site mysite.localhost again.

=
Database settings do not match expected values; stopping database setup.

After adding the mysqld conf in my.conf file