[英]Installing MySQL Utilities on OSX 10.11 El Capitan
Wanted to use mysqldbcopy
, which is part of MySQL Utilities. 想要使用mysqldbcopy
,它是MySQL Utilities的一部分。 The latest release (mysql-utilities-1.5.6-osx10.9.dmg) appears to be for Mavericks, and attempting to use it results in the warning: "This package is incompatible with this version of OS X and may fail to install." 最新版本(mysql-utilities-1.5.6-osx10.9.dmg)似乎适用于Mavericks,并且尝试使用它会导致警告:“此软件包与此版本的OS X不兼容,可能无法安装“。 Spoiler alert, it does fail to install. Spoiler警报,它确实无法安装。
I found these instructions , which seem promising: 我发现这些说明似乎很有希望:
I have Python installed, but am a little unclear about step 2. The download options for source code download list only has options for Windows and a few flavors of Linux. 我安装了Python,但对第2步有点不清楚。源代码下载列表的下载选项只有Windows和一些Linux版本的选项。 Anybody know which one to use? 谁知道使用哪一个?
I managed to install MySQL Utilities from source code. 我设法从源代码安装MySQL Utilities。 The downloads listed for the platform "source code" were all labelled "Architecture Independent" so I figured it didn't matter which one I used. 为平台“源代码”列出的下载全部标记为“架构独立”,所以我认为无论我使用哪一个都无关紧要。
$ cd path/to/unzipped/mysql-utilities-1.5.6
$ python ./setup.py build
$ sudo python ./setup.py install
That all seemed to work great and mysqldbcopy
is now available. 这一切似乎都很好,现在可以使用mysqldbcopy
。 I forget it I had to close and reopen my terminal, but, depending on your setup, you might have to do that. 我忘了它我必须关闭并重新打开我的终端,但是,根据你的设置,你可能必须这样做。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.