Osx:Percona安装
brew install percona-server
安装完会有提示:
A "/etc/my.cnf" from another install may interfere with a Homebrew-built server starting up correctly. MySQL is configured to only allow connections from localhost by default To connect: mysql -uroot To initialize the data directory: mysqld --initialize --datadir=/usr/local/var/mysql --user=hfli To have launchd start percona-server now and restart at login: brew services start percona-server Or, if you don't want/need a background service you can just run: mysql.server start