Skip to content

Instantly share code, notes, and snippets.

@mnabila
Created January 30, 2019 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnabila/b81c25e03bb15e56753f5e082a13fb05 to your computer and use it in GitHub Desktop.
Save mnabila/b81c25e03bb15e56753f5e082a13fb05 to your computer and use it in GitHub Desktop.
flask config for xampp
class Config:
DEBUG = True
SQLALCHEMY_DATABASE_URI = "mysql+pymysql://username:password@127.0.0.1:3306/database?unix_socket=/opt/lampp/var/mysql/mysql.sock"
SECRET_KEY = "ada"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment