Is mariadb and mysql same? why is both used in frappe bench?

i am new to Frappe, i had issues installing bench.do we we need to be root user to run this. Why is Mysql referenced? in /etc/mysql/my.cnf

[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci

[mysql]
default-character-set = utf8mb4

my configuration:
WLS using ubuntu 24

Hi there,

Mariadb is a fork of the mysql codebase, and it is designed in a way that maintains high compatibility with mysql instances. Frappe does not use both. It just uses mariadb. Mariadb, however, uses the name “mysql” in some of its paths and configuration files.