Skip to main content
Ctrl+K

yachay@wasi.ovh

  • About
  • Blog
  • Privacy
  • GitHub
  • Codeberg
  • Mastodon
  • Atom feed
  • About
  • Blog
  • Privacy
  • GitHub
  • Codeberg
  • Mastodon
  • Atom feed

Recent Posts

  • 25 April - Publishing Python packages to PyPI
  • 21 April - About giving up
  • 14 April - Self-hosting movies
  • 11 April - Self-hosting music
  • 21 February - Peru

Archives

  • 2026 (7)
  • 2025 (4)
  • 2024 (1)
  • 2020 (2)
  • 2019 (1)
  • 2018 (1)
  • 2016 (2)
  • 2015 (1)
  • 2014 (3)
  • Posts tagged MySQL

Posts tagged MySQL

Connecting to MySQL without password prompt

  • 13 January 2016
  • lpryszcz
  • Warsaw
  • English
  • MySQL
  • MySQL login passwordless Python

If you are (like me) annoyed by providing password at every mysql login, you can skip it. Also it makes easier programmatic access to any MySQL db, as not passwd prompting is necessary :)

Create ~/.my.cnf file:

And login without -p parameter:

Read more ...


© Copyright 2026, Leszek Pryszcz.