Last active
December 20, 2015 02:49
-
-
Save ymt2/6059410 to your computer and use it in GitHub Desktop.
既存の MySQL と共存して MySQL 5.6 を使うための my.cnf with MacPorts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # デフォルト設定は skip-networking なので使わない | |
| # Use default MacPorts settings | |
| # !include /opt/local/etc/mysql56/macports-default.cnf | |
| [client] | |
| port = 3306 | |
| # 既存の MySQL が見ている my.cnf を変更しておく:port = 3307 | |
| socket = /opt/local/var/run/mysql56/mysqld.sock | |
| [mysql] | |
| show-warnings | |
| [mysqld] | |
| datadir = /opt/local/var/db/mysql56 | |
| # 既存の MySQL が見ている my.cnf を変更しておく:port = 3307 | |
| port = 3307 | |
| socket = /opt/local/var/run/mysql56/mysqld.sock | |
| character-set-server = utf8mb4 | |
| default-storage-engine = InnoDB | |
| [mysqldump] | |
| quick | |
| set-charset | |
| single-transaction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment