Page MenuHomePhabricator

[docs] Use 127.0.0.1 in db_config.json instead of localhost
ClosedPublic

Authored by ashoat on Sep 13 2023, 10:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 17, 8:16 AM
Unknown Object (File)
Sun, May 5, 5:57 AM
Unknown Object (File)
Thu, May 2, 10:50 AM
Unknown Object (File)
Wed, May 1, 5:45 PM
Unknown Object (File)
Wed, May 1, 4:49 PM
Unknown Object (File)
Tue, Apr 30, 8:36 AM
Unknown Object (File)
Sun, Apr 28, 2:13 AM
Unknown Object (File)
Apr 25 2024, 4:57 PM
Subscribers
None

Details

Reviewers
atul
varun
tomek
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMMf906621ba466: [docs] Use 127.0.0.1 in db_config.json instead of localhost
Summary

For some reason, after coming back from Burning Man, I am unable to connect to my local MariaDB from Node.js with localhost. Once I switched to 127.0.0.1, everything works fine.

I'm not sure if this is due to some macOS update or something else, but I figure this docs change will help other devs avoid this issue.

Test Plan

I confirmed 127.0.0.1 worked for me when localhost didn't

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 13 2023, 10:32 AM

Is this config auto generated by nix somehow? Should mariadb-up-mac.nix be updated as well?

Also update mariadb-up-mac.nix

Owners added a reviewer: Restricted Owners Package.Sep 13 2023, 10:57 AM
This revision now requires review to proceed.Sep 13 2023, 10:57 AM
ashoat removed 1 blocking reviewer(s): Restricted Owners Package.Sep 13 2023, 10:59 AM
This revision is now accepted and ready to land.Sep 13 2023, 10:59 AM
This revision was landed with ongoing or failed builds.Sep 13 2023, 10:59 AM
This revision was automatically updated to reflect the committed changes.