Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
mySQL5.5に文字を保存できません。照合utf8mb4とutf32を試しました。中国語と英語の両方の文字を同じテーブルに格納する必要があります。
この文字は、mysql サーバーで utf8mb4 文字セットを使用して保存できました。したがって、show variables like 'char%'; の出力は次のようになります。おそらくシステム文字セットを除いて、すべて utf8mb4 にする必要があります。
試してみてutf8 general、また実行に変更しないでください
utf8 general
SET NAMES utf8;
非常に重要な部分である実際のクエリの前に