Creating a stored procedure: setting the character set and collation

后端 未结 2 978
慢半拍i
慢半拍i 2021-02-04 07:31

When creating a MySQL stored procedure how does one set the character set and collation? The MySQL documentation does not provide any examples and to the general syntax is sligh

2条回答
  •  感动是毒
    2021-02-04 07:56

    Pay attantion to the bugreport. It shows that procedure and its parameters are not assotiated with default character set of the database, but alwais with Binary String.

    So you have to explicitly specify Character set attribute for parameters.

    Simple recreate procedure might not solve the problem.

提交回复
热议问题