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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to