flask sqlalchemy documentation connection post code example
Example 1: sqlalchemy_database_uri for mysql
app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql://username:password@localhost/db_name'
Example 2: sqlalchemy_database_uri
mysql://scott:tiger@localhost/mydatabase