LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-06-2009, 02:33 AM   #1
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Rep: Reputation: 30
Huge bug with MYSQL!!


I discovered this:
PHP Code:
collation_connection            latin1_swedish_ci                        |
collation_database              latin1_swedish_ci                        |
collation_server                latin1_swedish_ci 
swedish_ci? I need russian! i think all my problems is becose of this now... How to fix it?
 
Old 04-06-2009, 07:17 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Stephan_Craft View Post
I discovered this:
PHP Code:
collation_connection            latin1_swedish_ci                        |
collation_database              latin1_swedish_ci                        |
collation_server                latin1_swedish_ci 
swedish_ci? I need russian! i think all my problems is becose of this now... How to fix it?
This isn't a bug, its how your server(s) were set up. See this page:

http://dev.mysql.com/doc/refman/5.1/...r-options.html

specifically, the --collation-server and --character-set-server options.

Also, it helps folks to answer you, if you say something about your environment...like what version/distro of Linux, version of MySQL, if it's clustered or not, etc.
 
Old 04-06-2009, 07:53 PM   #3
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by TB0ne View Post
This isn't a bug, its how your server(s) were set up. See this page:

http://dev.mysql.com/doc/refman/5.1/...r-options.html

specifically, the --collation-server and --character-set-server options.

Also, it helps folks to answer you, if you say something about your environment...like what version/distro of Linux, version of MySQL, if it's clustered or not, etc.
I have centos 5.2
5.0.67-community-log MySQL
Apache 2
raid 0

I think this Swedish was always set in mysql. is it a way to change it from the inside? without setting it up in my.cnf?
 
Old 04-07-2009, 05:37 AM   #4
sleddog
Member
 
Registered: Jan 2002
Location: Labrador, Canada
Distribution: CentOS, Debian
Posts: 182

Rep: Reputation: 35
For some reason MySQL defaults to the Swedish collation if nothing else is set. You can set your preferences in my.cnf, which will affect new databases, and edit existing databases with phpMyAdmin.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Huge (Perl) problem: "DBD::mysql" fails on host Apache... sundialsvcs Programming 2 02-28-2009 03:58 PM
MySQL help with huge database izghitu Linux - Software 1 11-26-2007 07:46 PM
Bug in MySQL? jiml8 Programming 1 09-11-2007 05:23 PM
problem with a huge mysql db mailbinoy Linux - General 0 12-25-2005 09:07 AM
mysql batch file won't work... bug? Red Squirrel Linux - Software 8 08-23-2004 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration