Skip to content

Instantly share code, notes, and snippets.

@jeffersonchaves
Created November 17, 2021 20:08
Show Gist options
  • Save jeffersonchaves/226ecefbdca1d7925939c045aaff99b7 to your computer and use it in GitHub Desktop.
Save jeffersonchaves/226ecefbdca1d7925939c045aaff99b7 to your computer and use it in GitHub Desktop.
self.app = app
self.app.config['MYSQL_DATABASE_USER'] = 'jrh723dnnjs1u5ce'
self.app.config['MYSQL_DATABASE_PASSWORD'] = 'w8hzubq4xseu9djj'
self.app.config['MYSQL_DATABASE_DB'] = 'gcj94fo1u2n7n1ze'
self.app.config['MYSQL_DATABASE_HOST'] = 'z5zm8hebixwywy9d.cbetxkdyhwsb.us-east-1.rds.amazonaws.com'
self.mysql = MySQL(cursorclass=pymysql.cursors.DictCursor)
self.mysql.init_app(self.app)
@Sgobero
Copy link

Sgobero commented Nov 17, 2021

vlw prof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment