vagrant访问安装在mac下的mysql服务器

Posted onCategories技术文章

每天背个电脑从6号线转2号线挤得人不像人。哎下定决心把闲置一年的macbook掏出来配置一下。

homebrew.mxcl.mysql.plist 这个文件让我一顿好找。记录一下。

mbp13 /usr/local/opt/mysql $ vim homebrew.mxcl.mysql.plist
mbp13 /usr/local/opt/mysql $ brew services start mysql
==> Successfully started `mysql` (label: homebrew.mxcl.mysql)
mbp13 /usr/local/opt/mysql $ ps axu | grep mysql
rzhao 4060 0.0 0.0 4267752 860 s000 S+ 3:43PM 0:00.00 grep mysql
rzhao 4058 0.0 2.1 4659456 177084 ?? S 3:42PM 0:00.31 /usr/local/opt/mysql/bin/mysqld --basedir=/usr/local/opt/mysql --datadir=/usr/local/var/mysql --plugin-dir=/usr/local/opt/mysql/lib/plugin --bind-address=0.0.0.0 --log-error=mbp13.err --pid-file=mbp13.pid
rzhao 3945 0.0 0.0 4287792 1240 ?? S 3:42PM 0:00.03 /bin/sh /usr/local/opt/mysql/bin/mysqld_safe --bind-address=0.0.0.0 --datadir=/usr/local/var/mysql

发表评论

电子邮件地址不会被公开。 必填项已用*标注