h1

Mysql:- Modify Character Set

June 1, 2006

Alter Character Set in Mysql
#########################
we can convert the default encoding of the database and tables using the following commands in MySQL 4.1.

ALTER DATABASE database CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE {each table name} CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: