# NameError: name '\_mysql' is not defined

**URL:** <https://forum.codewithmosh.com/t/nameerror-name-mysql-is-not-defined/15145>\
**Category:** Django\
**Created:** [September 14, 2022, 4:05am UTC](https://forum.codewithmosh.com/t/nameerror-name-mysql-is-not-defined/15145 "2022-09-14T04:05:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MyselfVijay](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MyselfVijay](https://forum.codewithmosh.com/u/MyselfVijay)\
**Post date:** [September 14, 2022, 4:05am UTC](https://forum.codewithmosh.com/t/nameerror-name-mysql-is-not-defined/15145/1 "2022-09-14T04:05:53Z")

</div>

I uninstalled the package mysqlclient and installed it again. I got the error when going through Django ORM section hope it works for you too.
