-
Notifications
You must be signed in to change notification settings - Fork 637
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
[5.x]: Exception error when converting character set after upgrade to Craft 5 #16154
Labels
Comments
Run the following SQL query: SHOW CREATE TABLE craft_categorygroups What is the |
Here is the
|
Huh, we’re a little stumped. Any chance you can send your database over to [email protected] so we can look into it on our end? |
I just sent an email to [email protected] with a copy of the database. Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
Description
After upgrading a Craft 4 website to Craft 5 and running the
php craft db/convert-charset
command as described in the Upgrading from Craft 4, I'm running into an Exception 'yii\db\Exception' with message 'SQLSTATE[42000] error.Steps to reproduce
php craft db/convert-charset
Expected behavior
All database tables should be converted to utf8mb4 character set and utf8mb4_0900_ai_ci collation.
Actual behavior
The following error:
Craft CMS version
Craft Pro 5.5.2
PHP version
8.3.12
Operating system and version
Linux 6.11.9-orbstack-00279-g4cf512143f2e (DDEV)
Database type and version
MySQL 8.0.36
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: