Hue - Error loading MySQLdb module: libmysqlclient.so.20: cannot open shared object file: No such file or
解决下面两点异常 >>
1. Hue页面 点击DB 查询时弹出:
Error loading MySQLdb module: libmysqlclient.so.20: cannot open shared object file: No such file or ...
2. Hue命令操作 bin/hue syncdb
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: libmysqlclient.so.20: cannot open shared object file: No such file or directory
解决 >>
ln -s /usr/local/mysql/lib/libmysqlclient.so.20 /usr/lib/libmysqlclient.so.20 如果是64系统则: ln -s /usr/local/mysql/lib/libmysqlclient.so.20 /usr/lib64/libmysqlclient.so.20