How to edit mariadb`s config file?

Hi,

I want to edit mariadb`s configuration but i cant find any settings in /etc/mysql/my.cnf .

Which file do i need to edit?

please let mw know how do i that.

Thank you.

nano /etc/mysql/my.cnf

@vibhi

Hi, Thanks for answering.

There isn’t any content in the file my.cnf. usually, There are many settings such as [mysqld] , but the code ( !includedir /etc/mysql/conf.d/ ) only is entered. what should I do to change the configuration of mariadb?

Thank you.

well You can try using filezilla In my conf it showing the content but not when using cmd i think we making some mistake dont know where