linux下修改MySQL表名与表的字符编码

修改表名:

alter table tablename rename new_tablename;

修改表的字符编码:

alter table table convert to character set GBK;

posted @ 2017-08-28 17:42  duyunchao  阅读(1341)  评论(0编辑  收藏  举报