Skip to content

Update MySQL column type definition #12641

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

Merged
merged 1 commit into from Nov 21, 2019
Merged

Update MySQL column type definition #12641

merged 1 commit into from Nov 21, 2019

Conversation

ghost
Copy link

@ghost ghost commented Nov 16, 2019

Update 4.4 documentation.

nicolas-grekas added a commit to symfony/symfony that referenced this pull request Nov 16, 2019
…ier)

This PR was submitted for the 4.4 branch but it was merged into the 3.4 branch instead.

Discussion
----------

[HttpFoundation] Fix MySQL column type definition.

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  |no
| Deprecations? | no
| Tickets       | Fix #34409
| License       | MIT
| Doc PR        | symfony/symfony-docs#12641

Fix wrong MySQL column type definition causing Numeric value out of range exception.

Commits
-------

51c5f69 Fix MySQL column type definition.
Update 4.4 documentation.
@xabbuh xabbuh changed the base branch from 4.4 to 3.4 November 21, 2019 11:32
@xabbuh
Copy link
Member

xabbuh commented Nov 21, 2019

Thank you @jbroutier.

xabbuh added a commit that referenced this pull request Nov 21, 2019
This PR was submitted for the 4.4 branch but it was merged into the 3.4 branch instead (closes #12641).

Discussion
----------

Update MySQL column type definition

Update 4.4 documentation.

Commits
-------

8cd2e75 Update MySQL column type definition
@xabbuh xabbuh merged commit 8cd2e75 into symfony:3.4 Nov 21, 2019
beejaz added a commit to beejaz/symfony-docs that referenced this pull request Jun 7, 2020
This page hasnt been updated with this fix symfony#12641 for "Preparing the Database to Store Sessions" causing error:
SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'sess_lifetime' at row 1
javiereguiluz added a commit that referenced this pull request Jun 8, 2020
This PR was merged into the 4.4 branch.

Discussion
----------

Update column type for MySQL sessions table

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

Commits
-------

6565de2 Update column type for MySQL sessions table
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