Skip to content

Instantly share code, notes, and snippets.

@fsouza
Created December 3, 2014 20:45
Show Gist options
  • Save fsouza/9d98ed82386e51e0d660 to your computer and use it in GitHub Desktop.
Save fsouza/9d98ed82386e51e0d660 to your computer and use it in GitHub Desktop.
mysql_host = get_env("MYSQL_HOST")
if not mysql_host:
mysql_host = "localhost"
mysql_port = get_env("MYSQL_PORT")
if not mysql_port:
mysql_port = 3306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment