What is Nostr?
Syn-ACK :facepalm: /
npub1vle…d4p9
2025-01-10 18:15:40

Syn-ACK :facepalm: on Nostr: So here's an interesting thing I discovered while trying to install Xbackbone with a ...

So here's an interesting thing I discovered while trying to install Xbackbone with a MySQL database. Xbackbone is a PHP app and so it uses PDO to connect to MySQL, and apparently in some cases, using 'localhost' as the host argument in the DSN doesn't work - you have to use the loopback (127.0.0.1).

From looking at stuff online, it appears that it has something to do with the fact that PDO can't use the local mysqld socket so putting in the loopback forces it to use the TCP route which somehow works? Odd.

But that was preventing me from getting it installed, and now it's installed (I think). Still have some kinks to work out with getting the admin interface to show up, but I think that's more of an Nginx config problem at this point.
Author Public Key
npub1vleezjkp2p8ua22jadawcmjvhtawc437a6rd9jtq5zqd7kpyavtsyfd4p9