mysql uri sqlalchemy 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
app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql://username:password@localhost/db_name'
mysql://scott:tiger@localhost/mydatabase