How to edit mariadb`s config file?


#1

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.


#2

nano /etc/mysql/my.cnf


#3

@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.


#4

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


#5