Can't run MySql Utilities

拜拜、爱过 提交于 2019-12-23 07:46:14

问题


When I try and run MySQL Utilities from WorkBench I get the following error:

h3tr1ck$ mysqluc -e "help utilities"
Traceback (most recent call last):
  File "/bin/mysqluc", line 23, in <module>
  from mysql.utilities.common.options import license_callback, UtilitiesParser
File "/Library/Python/2.7/site-packages/mysql/utilities/common/options.py", line 34, in     <module>
from mysql.connector.conversion import MySQLConverter
ImportError: No module named connector.conversion

Then, if I type "mysql" into terminal it tells me that the command can not be found. Any help would be appreciated.

Thanks.


回答1:


MYSQL Utilities assumes that the MySQL Connector for Python has been installed. If you install it (http://dev.mysql.com/downloads/connector/python/), MySQL Utilities should run OK.



来源:https://stackoverflow.com/questions/21781598/cant-run-mysql-utilities

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!