如何将MySQL表更改为UTF-8? [英] How do I change a MySQL table to UTF-8?
本文介绍了如何将MySQL表更改为UTF-8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道表和数据库的语言有很多设置。
I know there are many settings for a language for a table and a database.
我已经创建了数据库。我相信当我创建它,它是默认/拉丁。我想改变一切,我的意思是... 表和数据库,到UTF-8 。
I already created the database. I believe when I created it, it was default/LATIN. I want to change everything-I mean...both the table and the database, to UTF-8.
我该如何做?感谢。
推荐答案
ALTER TABLE tbl_name CONVERT TO CHARACTER SET utf8;
这篇关于如何将MySQL表更改为UTF-8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文