Altinity / clickhouse-mysql-data-reader

utility to read mysql data
MIT License
368 stars 94 forks source link

repair create sql error #148

Closed aquarius-wing closed 5 years ago

aquarius-wing commented 5 years ago

row is a tuple, if try to get value by row['Tables_in_db'],there will have error 'tuple indices must be integers, not str',which only print "Can not list tables on host..." so I change the row['Tables_in_db'] to row[0] then will be work