LoginSignup
232

More than 5 years have passed since last update.

posted at

my.cnfの場所を調べる

左から順に読み込まれている。
この場合は、/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
What you can do with signing up
232