Skip to content

Conversion from collation utf8mb4_unicode_ci into utf8mb3_general_ci impossible for parameter #1865

Closed
@mondalaci

Description

@mondalaci

I'm running mysqld 8.0.32, node-mysql2 2.1.0, and the following code triggers the error of the subject:

await db.execute(`
    UPDATE orders
    SET leadSource = ?
    WHERE id = ?
`, ['😅', 1]);

The collation of the leadSource column is utf8mb3_general_ci.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions