Open RuslanBurgun opened 2 years ago
did you resolve this issue?
Same error but in a different situation so the problem could be related. When using mysql-import I was getting this error. In the imported SQL file I removed /!40101 SET NAMES utf8 /; and it worked. I kept /!40101 SET NAMES utf8mb4 /; It's as if utf8 doesn't resolve anymore. I think the default for utf8 was utf8mb3
Edit: There it is https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-utf8.html
convert your table into utf8mb4 "ALTER TABLE table_name CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci"
Add this raw after running migrations
Error: Encoding not recognized: 'undefined' (searched as: 'undefined')
Current behavior
Expected behavior
Migration should be applied
Minimal reproduction of the problem with instructions
when I run
db-migrate up -v --env=prod
Environment
db-migrate 0.11.11 db-migrate-mysql: ^2.1.1 mysql version 8.0.23