Comments (4)
Can you provide the full error message? It would be helpful to pinpoint which field is causing this. What version of MySQL are you using and which Python driver?
It seems like when you use utf8mb4
, the 4-length characters cause the max key size to be 191, and some of the keys used in django-celery-beat
are 200. You can switch to utf8
instead for the columns or tables that are using the max of 200.
from django-celery-beat.
Yes, I wanted my mysql to support emoji, so I
changed the default charset of my mysql to utf8mb4, then caused the problem.
And I had solved it by upgrade the mysql version to 5.7, Its default row_format is "dynamic" what supports larger "max key size".
from django-celery-beat.
Another way as you said, set the max_length value of CharField less then 192 in the low version of mysql.
from django-celery-beat.
@iTraceur How to deal with it in MySQL 5.6
. Why not set the max_length to 191 in next release?
from django-celery-beat.
Related Issues (20)
- Minor documentation error HOT 1
- The celery beat is not syncing and you need to manually restart it to reflect changes! HOT 3
- SCHEDULER Time display issue
- Custom schedule type is not being used
- django 5.0 HOT 24
- CrontabSchedule uniqueness HOT 3
- celery beat_schedule can not automove HOT 1
- schedule task HOT 1
- (Django 5.0.1) AttributeError at /admin/django_celery_beat/crontabschedule/add/ HOT 3
- can I reduce number of beats? HOT 1
- I think there is no longer a need for `self.celery_app.loader.import_default_modules()` in the admin HOT 7
- Received unregistered task of type <app.tasks.function_name> HOT 1
- Rethinking total_run_count reset for one-off tasks in is_due HOT 1
- Add `sphinxcontrib-django` to docs extensions
- Error in logfile HOT 3
- Getting RuntimeWarning with django-celery-beat==2.6.0, django==5.0.3 HOT 7
- Admin: show tasks for each schedule
- Scheduled tasks not running despite showing in beat config HOT 1
- Invalid crontab is created, but breaks database scheduler
- migration returns error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-celery-beat.