如何使用brew或brew cask安装“ MySQL Utilities”?


9

我使用安装了MySQL服务器和客户端brew。我使用安装了MySQL Workbench brew cask,但没有找到MySQL Utilities(新功能?)。

如何使用brew或安装该软件brew cask


您找到解决方案了吗?
克拉基

github.com/dbcli/mycli,这是个好主意,一个具有自动完成功能和语法突出显示功能的MySQL终端客户端。很棒
freew01f

Answers:


8

mysql-utils是一个不同的酒桶

brew cask install mysql-utilities

如果您这样做,brew search mysql您可以看到酒桶的酒桶

$ brew search mysql
automysqlbackup
mysql 
mysql++
mysql-cluster
mysql-connector-c
mysql-connector-c++
mysql-sandbox
mysql-search-replace
mysqltuner              
homebrew/php/php53-mysqlnd_ms
homebrew/php/php55-mysqlnd_ms
homebrew/versions/mysql51
homebrew/versions/mysql56
Caskroom/cask/mysqlworkbench                 
homebrew/php/php54-mysqlnd_ms
homebrew/php/php56-mysqlnd_ms
homebrew/versions/mysql55
Caskroom/cask/mysql-utilities    <<<<=============
Caskroom/cask/navicat-for-mysql 

为了拥有功能正常的mysql-utils,您需要具有python连接器。您可以从下载

 http://dev.mysql.com/downloads/connector/python/  (osX 10.8 and 10.9)
 or 
 https://dev.mysql.com/downloads/connector/python/2.0.html (osX 10.7)

但是我更喜欢从.tar.gz安装并手动安装。您可以在此处获得详细说明


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.