Hi All,
I am using Django 2.0.6, Python 3.6. For connecting with Mysql 5.7 I am using mysqlclient 1.3.12.
Using above environment I have created an admin panel for CRUD operations.
When I select a tabel for viewing it's content following error shows-
django.db.utils.OperationalError: (2013, 'Lost connection to MySQL server during query')
The above error comes only for one table, rest all are working fine.
I tried to set the max_allowed_packet=67108864 in mysql configuration file and in settings.py I have set the CONN_MAX_AGE=6000 but it is not working.
Have anyone faced the same issue?
Let me know if anyone knows how to solve this.
Thanks,
Prateek