Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL Collation 1

Status
Not open for further replies.

sebes

Programmer
Apr 5, 2011
45
RO
Hello,

I created my database with MySQL connection collation : utf8_general_ci. However, in the tables I create, without specifying any collation, all char/varchar/... fields have Collation: latin1_general_ci .

Why isn't the main utf8_general_ci collation automatically passed on to the fields ?

Thanks.
 
No. Only if you create the database itself with that collation. The connection collation has no influence on this.

+++ Despite being wrong in every important aspect, that is a very good analogy +++
Hex (in Darwin's Watch)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top