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 2018/12/18 21:01:20 UTC

[GitHub] muraiki commented on issue #3994: MySQL connection when requiring ssl fails.

muraiki commented on issue #3994: MySQL connection when requiring ssl fails.
URL: https://github.com/apache/incubator-superset/issues/3994#issuecomment-448368784
 
 
   I needed to use a custom CA, so I did the following:
   
   1. `pip install mysqlconnector`
   2. Use a SQLAlchemy URI that uses mysqlconnector (`mysql+mysqlconnector://...`)
   3. In the Extra JSON block:
   ```json
   {
       "metadata_params": {},
       "engine_params": {
           "connect_args": {
               "ssl_ca": "/path/to/ca.chain.cert"
           }
       },
       "metadata_cache_timeout": {},
       "schemas_allowed_for_csv_upload": []
   }
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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