homebrew mysql 启动_用 homebrew 安装 mysql 之后,可以启动但是 which mysql 显示 mysql: aliased to nocorrect mysql...

#1 楼 @leekelby 似乎正常。关于那个/etc/my.cnf,我确定我没有。

————————————————

mysql: stable 5.6.16 (bottled)

http://dev.mysql.com/doc/refman/5.6/en/

Conflicts with: mariadb, mysql-cluster, mysql-connector-c, percona-server

/usr/local/Cellar/mysql/5.6.16 (9424 files, 349M) *

Poured from bottle

From: https://github.com/mxcl/homebrew/commits/master/Library/Formula/mysql.rb

==> Dependencies

Build: cmake ✘

==> Options

--enable-debug

Build with debug support

--enable-local-infile

Build with local infile loading support

--enable-memcached

Enable innodb-memcached support

--universal

Build a universal binary

--with-archive-storage-engine

Compile with the ARCHIVE storage engine enabled

--with-blackhole-storage-engine

Compile with the BLACKHOLE storage engine enabled

--with-embedded

Build the embedded server

--with-tests

Build with unit tests

==> Caveats

A "/etc/my.cnf" from another install may interfere with a Homebrew-built

server starting up correctly.

To connect:

mysql -uroot

To have launchd start mysql at login:

ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents

Then to load mysql now:

launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

Or, if you don't want/need launchctl, you can just run:

mysql.server start

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值