Mariadb/mysql start fail

Hello I am installing Frappe bench in android using Ubuntu 18.4 distro ARM64

After installing Mariadb
I added configuration lines in [innodb-file-format=barracuda
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci

default-character-set = utf8mb4]


I restarted by command (service mysql restart)
But after stopping
It failed to start mysql again.

Please help me as I am new to Linux.


Can you show the last part of the cnf file, and the error/trace screen for mysql (or its start log)?

I had added the code below the [mariadb-10.0] line which I have removed in order to see if Maria dB is working without this code. When I started sudo service mysql start it worked

The error log is this

If I add the code it will look like this