Hey Lance, You could definitely write a Python script to do this. MySQL script could be tricky if you want to encrypt the password.
Something like: conn = models.Connection( conn_id='airflow_db', conn_type='mysql', host='localhost', login='root', password='', schema='airflow')) session.add(conn) session.commit() Cheers, Chris On Wed, May 18, 2016 at 1:34 PM, Lance Norskog <lance.nors...@gmail.com> wrote: > What is a sample script to add a Connection? Is there a command-line > feature or API feature to do this? Or would we just use a MySQL script? > > -- > Lance Norskog > lance.nors...@gmail.com > Redwood City, CA >