Skip to content

Database Collation Error #9

@twmbx

Description

@twmbx

https://github.com/getherbert/framework/blob/dev/Herbert/Framework/Providers/HerbertServiceProvider.php#L138

Experienced

Syntax error or access violation: 1253 COLLATION 'utf8_unicode_ci' is not valid for CHARACTER SET 'utf8mb4'

error with the current 'utf8_unicode_ci' collation specified in registerEloquent.
Only managed to get plugin to activate by changing it to 'utf8mb4_unicode_ci'

Can this be exposed as a config option to the developer instead of hard coded?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions