适用于OSX的MySQL Workbench.没有公用设施

cut*_*eth 2 mysql macos mysql-workbench

我正在尝试在我的Mac上运行MySQL和Workbench.

Workbench安装得很好,但是当我尝试运行MySQL实用程序时,我收到一条错误消息"无法找到命令行MySQL实用程序".

无法找到实用程序

但是当我进入下载页面时,Mac没有可用的版本.

公用事业不存在

我已经使用.dmg安装程序安装了MySQL社区服务器.

请帮助,最近在Mac上安装MySQL工作台的任何人.

(PS - 我正在运行OSX 10.9,如果重要的话).

谢谢!

pet*_*erm 16

必须构建它并从源代码安装

  1. 下载(Linux - Generic)并首先安装 Connector/Python

    $ tar -xvf mysql-connector-python-1.0.12.tar.gz
    $ cd mysql-connector-python-1.0.12
    $ sudo python setup.py install
    
  2. 下载(平台无关)并安装 MySQL Utilities

    $ tar -xvf mysql-utilities-1.3.5.tar.gz 
    $ cd mysql-utilities-1.3.5/
    $ python ./setup.py build
    $ sudo python ./setup.py install
    

瞧,你得到自己的MySQL实用工具

$ /usr/local/bin/mysqluc -e "help utilities"
Launching console ...

Utility           Description                                              
----------------  ---------------------------------------------------------
mysqlauditadmin   audit log maintenance utility                            
mysqlauditgrep    audit log search utility                                 
mysqldbcompare    compare databases for consistency                        
mysqldbcopy       copy databases from one server to another                
mysqldbexport     export metadata and data from databases                  
mysqldbimport     import metadata and data from files                      
mysqldiff         compare object definitions among objects where the       
                  difference is how db1.obj1 differs from db2.obj2         
mysqldiskusage    show disk usage for databases                            
mysqlfailover     automatic replication health monitoring and failover     
mysqlfrm          show CREATE TABLE from .frm files                        
mysqlindexcheck   check for duplicate or redundant indexes                 
mysqlmetagrep     search metadata                                          
mysqlprocgrep     search process information                               
mysqlreplicate    establish replication with a master                      
mysqlrpladmin     administration utility for MySQL replication             
mysqlrplcheck     check replication                                        
mysqlrplshow      show slaves attached to a master                         
mysqlserverclone  start another instance of a running server               
mysqlserverinfo   show server information                                  
mysqluserclone    clone a MySQL user account to one or more new users