【问题标题】:Installation failed trying to install MySQL ODBC connector on macOS High Sierra尝试在 macOS High Sierra 上安装 MySQL ODBC 连接器时安装失败
【发布时间】:2017-11-24 10:14:23
【问题描述】:

我正在尝试在我的 macOS High Sierra 机器上安装 this mysql odbc connector,但出现以下错误:

我尝试使用installer 安装它,希望能获得有关问题所在的信息:

➜  ~ sudo installer -pkg Desktop/mysql-connector-odbc-5.3.9-macos10.12-x86-64bit.pkg -target / -verbose
installer: Package name is MySQL Connector/Odbc 5.3.9
installer: Installing at base path /
installer: Preparing for installation….....
installer: Preparing the disk….....
installer: Preparing MySQL Connector/Odbc 5.3.9….....
installer: Waiting for other installations to complete….....
installer: Configuring the installation….....
installer:
#
installer: Validating packages….....
#
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)

但这无济于事。您对我如何调试它并安装连接器有任何提示吗?谢谢。

【问题讨论】:

    标签: odbc pyodbc unixodbc macos-high-sierra mysql-odbc-connector


    【解决方案1】:

    我刚刚注意到这一点: 在这个页面上:https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-installation-binary-osx.html

    安装 iODBC (http://www.iodbc.org/dataspace/doc/iodbc/wiki/iodbcWiki/Downloads) 后,它就可以安装连接器了。

    【讨论】:

    • 仍然发现即使按照 iODBC Wiki 和 mySQLWorkbench 中概述的步骤进行操作,系统也无法从迁移向导中找到 ODBC 管理员
    【解决方案2】:

    我知道我正在恢复一个旧线程,但是刚刚遇到这个确切的问题/问题,并且没有通过 iodbc 安装解决,我想我会发布对我有用的解决方案。使用命令行...打开终端并运行...

    pip install mysql-connector-python
    

    pip install mysql-connector
    

    【讨论】:

      猜你喜欢
      • 2018-01-27
      • 2018-12-12
      • 2018-12-05
      • 2018-06-11
      • 1970-01-01
      • 1970-01-01
      • 2022-10-06
      • 1970-01-01
      • 2017-11-22
      相关资源
      最近更新 更多