You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/03/28 01:50:49 UTC

[GitHub] [superset] fly904021125 commented on issue #10396: superset Database on mysql Unexpected error name '_mysql' is not defined

fly904021125 commented on issue #10396:
URL: https://github.com/apache/superset/issues/10396#issuecomment-1080097537


   > OMG! The problem is solved after i installed the pymysql driver like this: `pip install pymysql` then i use the SQLAlchemy URI like this: `mysql+pymysql://root:Root1234@127.0.0.1:3306/superset `
   > 
   > and i use the uri like this is work too. `mysql+mysqlconnector://root:Root1234@127.0.0.1:3306/superset `
   > 
   > ![image](https://user-images.githubusercontent.com/12453224/90464710-82fd0d00-e140-11ea-8f2c-75af35a54dd6.png)
   > 
   > i want to know why i can't use the SQLAlchemy URI like this:
   > 
   > ```
   > mysql+mysqldb://root:Root1234@127.0.0.1:3306/superset
   > or
   > mysql://root:Root1234@127.0.0.1:3306/superset
   > ```
   
   it also works for me.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org