Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update column type for MySQL sessions table #13765

Merged
merged 1 commit into from
Jun 8, 2020

Conversation

beejaz
Copy link
Contributor

@beejaz beejaz commented Jun 7, 2020

This page hasnt been updated with this fix #12641 for "Preparing the Database to Store Sessions" on MySQL db, causing error:

SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'sess_lifetime' at row 1

Its fixed by changing MEDIUMINT to INTEGER UNSIGNED for sess_lifetime column.

Its the same miss in 4.4, 5.0 and 5.1

@javiereguiluz
Copy link
Member

@beejaz thanks a lot for fixing this and congrats on your first Symfony Docs contribution!

@javiereguiluz javiereguiluz merged commit 670e1bd into symfony:4.4 Jun 8, 2020
@beejaz beejaz deleted the patch-2 branch September 19, 2020 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants