Yesterday, I published an article explaining how to easily deploy Apache Superset on OCI using MySQL HeatWave Database Service.
There are some people not using the automation or not using MySQL HeatWave Database Service on OCI but want to still use Superset with MySQL 8.0.
In this blog, we will see how to fix eventual errors when performing the installation manually.
SQL Alchemy Dialect Configuration
When using MySQL 8.0, in Superset’s config file, you need to specify the SQLAlchemy URI like this:
SQLALCHEMY_DATABASE_URI = 'mysql+mysqlconnector://<user>:<password>@<host>:<port>/<superset_schema>'
It is important to specify the database backend and dialect:
mysql+mysqlconnector
.
Of course you need to install the MySQL …
[Read more]