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, Jul 19, 9:18 PM
Unknown Object (File)
Tue, Jul 16, 10:30 PM
Unknown Object (File)
Tue, Jul 16, 4:52 PM
Unknown Object (File)
Thu, Jul 11, 8:28 AM
Unknown Object (File)
Fri, Jul 5, 3:16 PM
Unknown Object (File)
Thu, Jul 4, 7:12 PM
Unknown Object (File)
Thu, Jul 4, 6:33 PM
Unknown Object (File)
Tue, Jul 2, 10:31 AM
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.