简体   繁体   中英

How can I connect my local mysql database to Apache superset in MacBook Pro?

I am using mysql://root:root@localhost:3306/db_superset as the SqlAlchemy URI to connect mysql database to superset. However, I keep receiving error message like

在此处输入图片说明

Can anyone know how to resolve it? My OS version is macOS High Sierra Veresion 10.13.6.

i think you don't have that python module installed previously, just run:

pip install mysqlclient

or if you are using python 2 then:

pip install mysql-python

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM