Skip to content

Commit

Permalink
fix: update password parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderBabel committed Sep 8, 2021
1 parent 90cb928 commit bbc1b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
uri = os.getenv('DATABASE_URL')
result = urlparse(uri)

print(f"-u {result.username} -p={result.password} -h {result.hostname} -P {result.port if result.port else 3306} {(result.path or '').replace('/', '')}", end="")
print(f"-u {result.username} --password={result.password} -h {result.hostname} -P {result.port if result.port else 3306} {(result.path or '').replace('/', '')}", end="")

0 comments on commit bbc1b3b

Please sign in to comment.