Maybe I should add also the ipv6 addresses of the server in the hosts?
MySQL listens on 127.0.0.1 (localhost IPv4) by default. With node18, node.js doesnāt sort the DNS lookup results from the system, so itās now resolving localhost
to ::1
.
If you want to avoid modifying your hosts file, I think you need to configure MySQL to listen on ::1
.
Hey. Bro. Iām on v18. How to upgrade to v20 without any issue? (when ghost supports v20)
If youāre using the suggested install guide, hereās the suggested upgrade guide: Supported node versions for self-hosted installs of Ghost
Itās hard to say if thereās any issues youāll have by upgrading from v18 to v20. The v16-v18 update is the first time I saw a breaking change that affected Ghost. Previously it was a pretty straightforward update.
So itās better to backup and upgrade. Isnāt it?
Thatās always the suggestion when making notable system changes