Skip to main content
Ctrl+K

wasi.ovh/yachay

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

Recent Posts

  • 09 February - Self-hosting: domain and DNS zone
  • 01 February - Self-hosting: server hardware
  • 31 January - Self-hosting: starting an adventure
  • 27 January - Let’s begin the privacy quest
  • 01 April - Hello world!

Archives

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

Posts tagged passwordless

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 2025, Leszek Pryszcz.