# Upgrading from 4.1.0 to 4.2.1 Mautic Died

**URL:** <https://forum.mautic.org/t/upgrading-from-4-1-0-to-4-2-1-mautic-died/23774>\
**Category:** Product Support\
**Created:** [April 17, 2022, 1:51pm UTC](https://forum.mautic.org/t/upgrading-from-4-1-0-to-4-2-1-mautic-died/23774 "2022-04-17T13:51:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [April 19, 2022, 12:44pm UTC](https://forum.mautic.org/t/upgrading-from-4-1-0-to-4-2-1-mautic-died/23774/3 "2022-04-19T12:44:01Z")

</div>

I finally got the instance up and running, however I am still not able to update the schema correctly and as such certain things are not working, for example I cannot load segments.

The main problem from what I can see is

```auto
SQLSTATE[42S22]: Column not found: 1054 Unknown column '@' in 'generated column function' 

```

Where the query that is running is

```auto
ALTER TABLE leads ADD generated_email_domain TEXT(255) AS (SUBSTRING(email, LOCATE("@", email) + 1)

```

It seems that from what I can understand it is looking at the leads table and the column emails, and trying to split this column based on a delimiter of @ which is proving problematic.

Once again hoping to get some help from someone that understands database stuff.

Thanks

---

_[View the full topic](https://forum.mautic.org/t/upgrading-from-4-1-0-to-4-2-1-mautic-died/23774)._
