OSX 10.10約塞米蒂 安裝由mysql-5.6.21-osx10.9-x86_64.1.dmgOSX 10.10約塞米蒂my.cnf中沒有被讀取不工作
,找到my.cnf中只有in /usr/local/mysql
不/etc or /usr/etc or ~/.my.cnf
sudo find/-name my.cnf
Password:
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/federated/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/ndb/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/ndb_big/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/ndb_binlog/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/ndb_rpl/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/ndb_team/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/rpl/extension/bhs/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/rpl/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/rpl_ndb/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64 2/mysql-test/suite/federated/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64 2/mysql-test/suite/ndb/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64 2/mysql-test/suite/ndb_big/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64 2/mysql-test/suite/ndb_binlog/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64 2/mysql-test/suite/ndb_rpl/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64 2/mysql-test/suite/ndb_team/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64 2/mysql-test/suite/rpl/extension/bhs/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64 2/mysql-test/suite/rpl/my.cnf
/Users/abc/Downloads/mysql-5.6.21-osx10.8-x86_64 2/mysql-test/suite/rpl_ndb/my.cnf
/usr/local/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/federated/my.cnf
/usr/local/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/ndb/my.cnf
/usr/local/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/ndb_big/my.cnf
/usr/local/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/ndb_binlog/my.cnf
/usr/local/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/ndb_rpl/my.cnf
/usr/local/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/ndb_team/my.cnf
/usr/local/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/rpl/extension/bhs/my.cnf
/usr/local/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/rpl/my.cnf
/usr/local/mysql-5.6.21-osx10.8-x86_64/mysql-test/suite/rpl_ndb/my.cnf
但是當我編輯它不工作的文件。
並刪除文件啓動mysql服務器其確定!
但mv my.cnf到/etc/my.cnf
服務器無法啓動。