GithubHelp home page GithubHelp logo

Comments (5)

cuuush avatar cuuush commented on June 28, 2024

as a temporary workaround, you can downgrade to mysql 5.7. this issue seems to apply to mysql 8

from django-cas-ng.

cuuush avatar cuuush commented on June 28, 2024

the reason is due to mysql8 default character set being utf8mb4, which uses 4 bytes per character. The max length of the charfields is 1024 X 4 bytes which is greater than 3072. is there a reason why these fields need to be so large? CAS specification recommends supporting up to 256 characters.

from django-cas-ng.

fiterbek avatar fiterbek commented on June 28, 2024

https://github.com/gregbaker/django-cas-ng is a fork that fixes this, no idea why this hasn't been merged into a release since it is a known issue; i referenced the (very quickly marked as stale) original issue above

from django-cas-ng.

alkmc avatar alkmc commented on June 28, 2024

@mingchen could you possible look into this issue?

from django-cas-ng.

stale avatar stale commented on June 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from django-cas-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.