# Ghost 4.1.0 errored during boot

**URL:** https://forum.ghost.org/t/ghost-4-1-0-errored-during-boot/21006
**Category:** Installation
**Created:** [March 20, 2021, 12:49pm UTC](https://forum.ghost.org/t/ghost-4-1-0-errored-during-boot/21006 "2021-03-20T12:49:19Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![acburdine](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/acburdine/32/4825_2.png) [@acburdine](https://forum.ghost.org/u/acburdine)
#### Post date: [March 20, 2021, 3:30pm UTC](https://forum.ghost.org/t/ghost-4-1-0-errored-during-boot/21006/5 "2021-03-20T15:30:33Z")

</div>

> All tables in my ghost\_production database have the same collation (utf8mb4\_general\_ci).

Did you recently upgrade to a newer version of MySQL? If so that might explain the issue - MySQL v8 changes the _default_ table collation to something other than utf8mb4\_general\_ci, so any new tables that Ghost attempts to create as part of v4 migrations will be created with the new collation.

You _should_ be able to check your database’s default charset/collation using the following query:

```sql
SELECT SCHEMA_NAME,
DEFAULT_CHARACTER_SET_NAME,
DEFAULT_COLLATION_NAME
FROM INFORMATION_SCHEMA.SCHEMATA
WHERE SCHEMA_NAME='ghost_production';

```

If the default charset/default collation are anything _other_ than `utf8mb4` and `utf8mb4_general_ci`, respectively, you’ll need to run the following command to update the defaults:

```sql
ALTER DATABASE `ghost_production`
DEFAULT CHARACTER SET utf8mb4
DEFAULT COLLATE utf8mb4_general_ci;

```

---

_[View the full topic](https://forum.ghost.org/t/ghost-4-1-0-errored-during-boot/21006)._
