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

Issue with content_type column using aurora mysql #232

Open
gfavinger opened this issue Jun 25, 2024 · 0 comments
Open

Issue with content_type column using aurora mysql #232

gfavinger opened this issue Jun 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gfavinger
Copy link

I believe I've rootcaused a bug using AWS aurora mysql with simplystatic. When simply static is initially installed, the db table creation fails. I believe this is because the content_type column name isn't escaped and content_type is now a reserved word in aurora.

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraMySQLReleaseNotes/AuroraMySQL.Updates.3060.html#:~:text=Aurora%20MySQL%20version%203.06.,aws_sagemaker_invoke_endpoint%20%2C%20content_type%20%2C%20and%20timeout_ms%20.

You can create the table manually and just wrap the column names in backticks ... content_type and it works fine.

Documenting here in case others encounter the same issue

@patrickposner patrickposner self-assigned this Aug 29, 2024
@patrickposner patrickposner added the bug Something isn't working label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants