Getting MYSQL/node error getaddrinfo EAI_AGAIN root root:3306 when trying ghost run

Posted another thread two days ago but decided to try some other things.

Concerns an install on Ubuntu 18.04 on Linode. Uninstalled ghost and nginx and then re-installed per the directions here. Now I’m running into issues again – specifically, when I run ghost start I get this error:

Debug Information:
    OS: Ubuntu, v18.04
    Node Version: v10.16.3
    Ghost-CLI Version: 1.11.0
    Environment: production
    Command: 'ghost start'
Message: getaddrinfo EAI_AGAIN root root:3306
Help: Unknown database error
Suggestion: journalctl -u xxxxxxxxxxxxxxxxx -n 50
Stack: Error: getaddrinfo EAI_AGAIN root root:3306
    at Server.server.close (/usr/lib/node_modules/ghost-cli/lib/utils/port-polling.js:38:28)
    at Object.onceWrapper (events.js:286:20)
    at Server.emit (events.js:198:13)
    at emitCloseNT (net.js:1618:8)
    at process._tickCallback (internal/process/next_tick.js:63:19)

The output of ghost doctor is fine:

sean@ghost-blog:/var/www/ghost$ ghost doctor
✔ Checking system Node.js version
✔ Checking logged in user
✔ Ensuring user is not logged in as ghost user
✔ Checking if logged in user is directory owner
✔ Checking current folder permissions
✔ Checking operating system compatibility
+ sudo systemctl is-active ghost_semi-anonyme-blog
+ sudo systemctl reset-failed ghost_semi-anonyme-blog
✔ Validating config
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking content folder ownership
✔ Checking memory availability

MySQL is running:

**xxxx@ghost-blog** : **/var/www/ghost** $ mysqladmin -u root -p status
Uptime: 314743 Threads: 1 Questions: 1327 Slow queries: 0 Opens: 384 Flush tables: 1 Open tables: 263 Queries per second avg: 0.004

Any help is appreciated. Pretty lost here.

Please use the original thread and don’t open duplicate topics :slight_smile: