首頁 >資料庫 >mysql教程 >mysql修改编码_MySQL

mysql修改编码_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原創
2016-06-01 13:28:15881瀏覽

bitsCN.com

  • 修改表编码
  • ALTER TABLE  `uc_users_bak` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
  • #检查数据表所有字段的状态
  • ->show full columns from phplamp;
  • #发现address字段的Collation项非utf8,修改它!
  • ->alter table phplamp change name name varchar(100) character set utf8 collate utf8_unicode_ci not null default '';
bitsCN.com
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn