LoginSignup
233

More than 5 years have passed since last update.

my.cnfの場所を調べる

Posted at

左から順に読み込まれている。
この場合は、/etc/my.cnfが一番最初。

$ mysql --help | grep my.cnf
                order of preference, my.cnf, $MYSQL_TCP_PORT,
/etc/my.cnf /etc/mysql/my.cnf /usr/local/etc/my.cnf ~/.my.cnf 

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
233