I am trying to connect a MySQL database to Apache Superset but the following error is reported:
sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (1045, "Access denied for user 'supersetuser'@'localhost' (using password: YES)")
I am using MAMP with MySQL running locally on port 8889. I am trying to connect database apache_superset
using the credentials of user supersetuser
.
The SQLAlchemy
URI I am trying to pass in Apache Superset looks like the one below:
mysql://supersetuser:superset@localhost:8889/apache_superset
I am quite sure that the credentials are correct since I have just created them. Furthermore, I have also tried to assign the required privileges to the user
GRANT ALL PRIVILEGES ON `apache_superset`.* TO 'supersetuser'@'localhost' WITH GRANT OPTION;
but I am still unable to connect the db to Apache Superset.