You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_, err = tx.Exec("SET NAMES 'utf8mb4' "); if err != nil { panic(err) }
_, err = tx.Exec("INSERT INTO test (name) values ( ? ) ", "a😊b")
Btw, is is convenient to put it as a connection option, like in java JDBC url "jdbc:mysql://127.0.0.1/mydb?useUnicode=true&connectionCollation=utf8mb4_general_ci&......" ?
No description provided.
The text was updated successfully, but these errors were encountered: