Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't run MySql Utilities

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.

like image 290
h3tr1ck Avatar asked Feb 14 '14 14:02

h3tr1ck


1 Answers

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.

like image 102
Maj Avatar answered Sep 30 '22 05:09

Maj