我正在尝试按照this tutorial来启用对MySQL的远程访问.问题是,my.cnf文件应该放在哪里?我正在使用Mac OS X Lion.
解决方法:
This thread on the MySQL forum说:
By default, the OS X installation does not use a my.cnf, and MySQL just uses the default values. To set up your own my.cnf, you could just create a file straight in /etc.
OS X在/usr/local/mysql / support-files /中提供了示例配置文件.
如果你在那里找不到它们,MySQLWorkbench可以通过以下方式为你创建它们:
>打开连接
>在菜单中选择“INSTANCE”下的“选项文件”.
> MySQLWorkbench将搜索my.cnf,如果找不到它,它会为你创建它
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!