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

修改表名:

alter table tablename rename new_tablename;

修改表的字符编码:

alter table table convert to character set GBK;