4 ms·
the tmux thing is a red herring, i encounter similar environment variable things plenty just with open terminal windows(though, not for database_url). i read i
by idunno246 9y ago
the tmux thing is a red herring, i encounter similar environment variable things plenty just with open terminal windows(though, not for database_url).
i read it as a couple days ago in their local terminal they exported the prod db as an environment variable. ran some script or console or something that needed to run in prod. didnt unset the variable. Then next time they run any command in that terminal it hits prod.
maybe it was a remote machine, but there wasnt an active db connection, just a hidden config that exploded the next time a command ran