mysql添加漢字的方法:首先查看該數(shù)據(jù)庫(kù)的編碼;然后修改數(shù)據(jù)庫(kù)jats003的字符集,代碼為【alter database jats003 character set utf8】。
mysql添加漢字的方法:
情況一(數(shù)據(jù)庫(kù)編碼):
1、查看該數(shù)據(jù)庫(kù)的編碼:show create database jats003 ;
2、修改數(shù)據(jù)庫(kù)jats003的字符集:alter database jats003 character set utf8;
情況二(數(shù)據(jù)表編碼):
1、查看數(shù)據(jù)表字符集show create table t_learn_student;
2、修改數(shù)據(jù)表t_learn_student的字符集:alter table t_learn_student character set utf8;
相關(guān)學(xué)習(xí)推薦:mysql教程
? 版權(quán)聲明
文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載。
THE END
喜歡就支持一下吧
相關(guān)推薦