Converse database from LATIN1 to UTF8

HI
I have a database which be used iso charset: LATIN1. I want to converse it to charset utf8. How can I do that
Please tell me solution
Thank you
VIETSKYAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
VoteyDiscipleConnect With a Mentor Commented:
This website ( http://confluence.atlassian.com/display/DOC/Configuring+Database+Character+Encoding )
suggests the best thing to do is:

1.  Do a mysqldump of your database
2.  Drop the database, and create it again with the encoding you want
3.  Import the mysqldump data again.


This seems pretty roundabout, and like the kind of thing that would be a huge hassle for a big database.  


Next up, http://dev.mysql.com/tech-resources/articles/4.1/unicode.html suggests altering individual columns to use UTF-8.  That too seems pretty darn tedious.


Finally, though, I hit on http://dev.mysql.com/doc/refman/5.0/en/alter-table.html

The ALTER TABLE statement supports the following syntax:

ALTER TABLE blah CONVERT TO CHARACTER SET utf8;
0
 
a0k0a7Commented:
Run the mySQL instance configurator from the server and change the default language from latin1 to utf8.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.