What is Nostr?
Jerry on Friendica /
npub1w99…80dz
2025-02-17 14:53:06
in reply to nevent1q…y4hd

Jerry on Friendica on Nostr: Elena Rossini ✨🎥 I don't think this error means a disastrous install problem. ...

Elena Rossini ✨🎥 (nprofile…9gdm) I don't think this error means a disastrous install problem.

ECONNREFUSED is a TCP error, so this tells me you are not connecting with a socket, but using a TCP connection on port 3306. So why would the connection be refused?

What I would do next, from the command line, is to see if anything is even listening on port 3308. Depending on whether anything accepts the connection, it gives the next debugging step.

telnet, btw, is not natively installed on Ubuntu, so you may need to do this first before continuing:

sudo apt update
sudo apt install telnetd

Then:
telnet localhost 3308

So, is anything listening? If not, then either the database didn't start or it's listening on a different port.

If something is listening, then try to access the database directly:

mysql -h localhost -u root -p 3308

If this fails, hopefully you get a meaningful error message telling you why. Maybe a DB issue, or perhaps no database is up.

If it works, then your database is up and running and listening on port 3308. This is good news. So either your Ghost configuration has the wrong host/port information for the database, or perhaps the connection needs or doesn't need an SSL connection.

But, these are the steps I'd do first just to get additional information about the issue.
Author Public Key
npub1w99kwr8nzh6k302q96kxl53cgj0whd5m54z6v20cjdfxtp4hzr6qaq80dz