I would like our centOS server 's mysql setup to use utf8 by default.

Can you tell me which file(s) need to be configured and how?

I know it's a pretty vague question but i'm not familiar with server management. Let me know if you need more details.

Thank you

link|improve this question

57% accept rate
feedback

2 Answers

up vote 2 down vote accepted

At compile time use --with-charset=utf8 and --with-collation=utf8_general_ci options to configure.

When creating database or table use DEFAULT CHARACTER SET utf8.

It's in the manual! http://dev.mysql.com/doc/refman/5.0/en/create-database.html

link|improve this answer
feedback

See this, this and this...

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.