# Need help to diagnose MYSQL database issue in updating to Ghost v4, multiblog

**URL:** <https://forum.ghost.org/t/need-help-to-diagnose-mysql-database-issue-in-updating-to-ghost-v4-multiblog/21066>\
**Category:** Developer help\
**Created:** [March 22, 2021, 3:48am UTC](https://forum.ghost.org/t/need-help-to-diagnose-mysql-database-issue-in-updating-to-ghost-v4-multiblog/21066 "2021-03-22T03:48:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![t1-tracey](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/t1-tracey/32/1682_2.png) [@t1-tracey](https://forum.ghost.org/u/t1-tracey)\
**Post date:** [March 23, 2021, 1:04am UTC](https://forum.ghost.org/t/need-help-to-diagnose-mysql-database-issue-in-updating-to-ghost-v4-multiblog/21066/2 "2021-03-23T01:04:07Z")

</div>

Ok this seemed to help:

> Try this command,
> 
> ```auto
> sudo service mysql start
> 
> ```

> <https://stackoverflow.com/questions/11990708/error-cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysq/23485424#23485424>

* * *

My database seems to be up and Ghost instance is running again (but there seems to be a NGINX problem still).

Edit: Ok both my sites are now back up! I changed the port of the second site to `2369`, using:

```bash
ghost config server.port 2369

```

The command in the StackOverflow post helped, and I will also link this topic as I used it when I first got Ghost up and running according to the article:

> [@Multiple installs on Digital Ocean - install error](https://forum.ghost.org/t/multiple-installs-on-digital-ocean-install-error/16473):
>
> OS: Ubuntu, v18.04.4 LTS Node Version: v12.18.0 Ghost Version: 3.29.1 Ghost-CLI Version: 1.14.1 Environment: production Command: ‘ghost setup’ Hello there - I’m following the instructions outlined here : [https://imaweb.dev/set-up-multiple-ghost-blogs-on-one-digital-ocean-droplet/](https://imaweb.dev/set-up-multiple-ghost-blogs-on-one-digital-ocean-droplet/) to install multiple blogs on a single droplet. I’m getting these errors on ‘ghost setup’ every time : CliError Message: Error trying to connect to the MySQL database. Help: You can run ghost config to re-en…

And I have managed to successfully update to Ghost v4

---

_[View the full topic](https://forum.ghost.org/t/need-help-to-diagnose-mysql-database-issue-in-updating-to-ghost-v4-multiblog/21066)._
