Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Just a small annoyance, but when I want to use mysql from the command line within my Vagrant box, I always have to add the username and password. Here's a patch that will add a simply .my.cnf
to the user's profile so that they never have to manually enter that information.
Comment | File | Size | Author |
---|---|---|---|
#3 | vdd-my_cnf-2456605-3.patch | 847 bytes | bobojo |
Comments
Comment #1
bobojo CreditAttribution: bobojo commentedComment #2
bobojo CreditAttribution: bobojo commentedComment #3
bobojo CreditAttribution: bobojo commentedWhoops! My last patch was missing a crucial piece. Here's the updated patch.
Comment #5
ericrdb CreditAttribution: ericrdb commentedNice touch - thanks for sharing!
Confirmed that it applies cleanly and enables command line access to mysql without a password.