Support the ongoing development of Laravel.io →
Configuration Database Eloquent

Hi!

I've got this exception when I van to save Ő character into the database. What should I do?

SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xC5\x90rize...' for column 'title' at row 1 (SQL: update hmvc_blogposts set title = Őrizetlenül maradt, updated_at = 2016-11-26 13:37:11 where id = 112) on line: 769

Last updated 2 years ago.
0

what's is your mysql collation type in both database and tables ?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ttimot24 ttimot24 Joined 21 Oct 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.