# OpenEMR 5.0.2 Patch

**URL:** <https://community.open-emr.org/t/openemr-5-0-2-patch/13007>\
**Category:** OpenEMR Development\
**Created:** [October 15, 2019, 8:46am UTC](https://community.open-emr.org/t/openemr-5-0-2-patch/13007 "2019-10-15T08:46:15Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![brady.miller](https://community.open-emr.org/user_avatar/community.open-emr.org/brady.miller/32/10178_2.png) [@brady.miller](https://community.open-emr.org/u/brady.miller)\
**Post date:** [April 30, 2020, 12:31am UTC](https://community.open-emr.org/t/openemr-5-0-2-patch/13007/24 "2020-04-30T00:31:53Z")

</div>

hi @jhunyan ,

Try it after replacing your sql/patch.sql file with the following:  
[https://raw.githubusercontent.com/openemr/openemr/dc1947df370cde40c49ced6e03884c47d8d6437f/sql/patch.sql](https://raw.githubusercontent.com/openemr/openemr/dc1947df370cde40c49ced6e03884c47d8d6437f/sql/patch.sql)

Let me know if this works. It looks like this is an issue in older mysql/mariadb versions. Luckily, it doesn’t impact anything else in the patch (the only thing this error stops is the importing of the covid icd10 codes).

thanks,  
-brady

---

_[View the full topic](https://community.open-emr.org/t/openemr-5-0-2-patch/13007)._
