lefred / mysql-shell-innotop

Innotop like module in MySQL Shell
GNU General Public License v2.0
17 stars 4 forks source link

mysql-shell-innotop doesn't work with MySQL Shell 8.0.18 #4

Closed yoku0825 closed 4 years ago

yoku0825 commented 4 years ago

Because MySQL Shell 8.0.18 is using Python 3.x

MySQL Shell 8.0.18 – What’s New? | MySQL Server Blog

 MySQL  localhost  Py > import sys
 MySQL  localhost  Py > sys.path.append('/home/yoku0825/mysql-shell-innotop')
 MySQL  localhost  Py > import innotop
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/yoku0825/.mysqlsh/mysql-shell-innotop/innotop.py", line 8, in <module>
    from modules import *
  File "/home/yoku0825/.mysqlsh/mysql-shell-innotop/modules/common.py", line 1, in <module>
    import __builtin__
ModuleNotFoundError: No module named '__builtin__'
lefred commented 4 years ago

It's fixed and pushed