mac系统下mysql开机启动总是3307
2015-10-09 09:29
519 查看
修改了mysql的my.cnf可还是不行,启动后就是3307,必须关掉再启动。
觉得可能是mac系统在哪里写死了开机启动项。
http://queforum.com/mysql/1012987-mysql-install-mysql-osx-runs-port-3307-a.html
最后看到上面的文章。
In the System Preferences under MySQL, click the 'Automaticall Start MySQl Server on Startup' box.
This forces it to generate a launchDaemon in /Library/launchDaemons.
I then edited that file and changed the port to 3306 and restarted.
我的是一个叫/Library/launchDaemons/com.oracle.oss.mysql.mysqld.plist文件,修改里面的3307为3306即可。
觉得可能是mac系统在哪里写死了开机启动项。
http://queforum.com/mysql/1012987-mysql-install-mysql-osx-runs-port-3307-a.html
最后看到上面的文章。
In the System Preferences under MySQL, click the 'Automaticall Start MySQl Server on Startup' box.
This forces it to generate a launchDaemon in /Library/launchDaemons.
I then edited that file and changed the port to 3306 and restarted.
我的是一个叫/Library/launchDaemons/com.oracle.oss.mysql.mysqld.plist文件,修改里面的3307为3306即可。
相关文章推荐
- Mysql安全配置
- [转]如何从MySQL官方Yum仓库安装MySQL5.6
- 怎么使ofbiz连接Mysql
- MySQL迁移[转]
- MYSQL数据库关联查询
- mysql使用source导入,会自动断开并无法连接(编码问题)
- MYSQL在Windows 7下迁移安装路径教程
- MySQL锁表
- 如何正确的完全卸载MySQL
- mysql主从数据一致性校验及纠错工具
- win7下安装mysql
- MySQL5.6免安装配置与“系统找不到指定的文件”错误解决
- mysql-procedure多参数(测试)
- MySQL学习历程——数据库操作命令
- mysql触发器的简单写法
- 104-storm 整合 kafka之保存MySQL数据库
- MySQL读写分离-amoeba
- mysql基础
- mysql bug
- mac下的mysql压缩包安装