Superset配置mysql数据源
1.添加mysql数据源
测试连接的时候遇到
No module named 'MySQLdb'"
安装mysqlclient
pip install mysqlclient
如果遇到
ERROR: /bin/sh: 1: mysql_config: not found
安装
sudo apt-get install libmysqlclient-dev python3-dev
添加mysql的url
mysql://root:xxxx@localhost/mysql?charset=utf8
测试ok
本文只发表于博客园和tonglin0325的博客,作者:tonglin0325,转载请注明原文链接:https://www.cnblogs.com/tonglin0325/p/11194160.html