why can't I find my.cnf?

53,588

Solution 1

What is your operating system ? On Debian Linux, it is located on /etc/mysql/my.cnf. If your cannot find it, you can create one from scratch using this documentation.

Solution 2

You can try following command:

find /etc -name *.cnf

it will show you all locations of *.cnf files

Share:
53,588
TIMEX
Author by

TIMEX

Updated on July 12, 2022

Comments

  • TIMEX
    TIMEX almost 2 years

    I did updatedb. I did locate my.cnf

    But I cannot find it? Nothing.

    (I installed MYSQL using aptitude install mysql-server, and mysql does work right now.)