Go Back   CodingForums.com > :: Server side development > MySQL

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Old 01-31-2005, 10:13 PM   PM User | #1
bauhsoj
Regular Coder

 
Join Date: Jan 2005
Posts: 462
Thanks: 3
Thanked 0 Times in 0 Posts
bauhsoj is an unknown quantity at this point
Question MySQL setting collation to latin1_swedish_ci

No matter how I configure MySQL 4.1.9, I always end up with all of my tables having collation set to "latin1_swedish_ci".

I have tried setting the collation to "latin1_general_ci" but my settings are ignored and all tables show up as "latin1_swedish_ci".

The tables that were created have been created and all data inserted through a PHPMyAdmin SQL file export under a server running MySQL 4.0.22.

Is there any way to fix this and what is might be causing it.

Thanks!
bauhsoj is offline   Reply With Quote
Old 01-31-2005, 10:40 PM   PM User | #2
hemebond
Senior Coder

 
Join Date: Jul 2004
Location: New Zealand
Posts: 1,315
Thanks: 0
Thanked 2 Times in 2 Posts
hemebond is an unknown quantity at this point
Are you sure your SQL file doesn't contain these directives? If not, check your default settings in admin. There's an option to set the default charset.
hemebond is offline   Reply With Quote
Old 01-31-2005, 10:53 PM   PM User | #3
bauhsoj
Regular Coder

 
Join Date: Jan 2005
Posts: 462
Thanks: 3
Thanked 0 Times in 0 Posts
bauhsoj is an unknown quantity at this point
The default connection collation is set to "latin1_general_ci" and the default character set is "latin1_general_ci". Nothing in the SQL backup file specifies the character set and I have searched the entire file for "latin1_swedish_ci" but the string wasn't found.
bauhsoj is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:10 AM.

Home - Contact Us - Archives - Link to CF - Resources - Top 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.