LinuxQuestions.org
Visit Jeremy's Blog.
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-02-2008, 04:04 PM   #1
rsleventhal
Member
 
Registered: Apr 2007
Location: Sunny Florida, USA
Distribution: CentOS, RHEL, U/X/Kubuntu
Posts: 36

Rep: Reputation: 15
Exclamation MySQL charsets and collations


Hi all,

I've just brought up a shiny new CentOS box (v5.1) and all's well.

I needed to install mysql-server and did so via yum. Additionally, I put on phpmyamin for ease of use in manipulating tables.

When I go to create a database and add tables, all's well, but the default character set is latin1 for which the default collation is latin1_swedish_ci.

I've googled and read and read more. Is there anyone who can show me a sample of using the my.cnf file in /etc to default this to latin2 and latin2_general_ci, or any flavor of generic utf8?

Thanks in advance,
-Ray
 
Old 04-03-2008, 11:19 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
You can set those when starting the server. http://dev.mysql.com/doc/refman/5.1/...et-server.html
 
  


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
issues with MySQL charsets izghitu Linux - Software 7 07-10-2007 03:40 AM
MySQL Fulltext search hyphen workaround using charsets MicahCarrick Linux - Software 0 10-11-2006 01:25 PM
charsets not recognized Murdock1979 Linux - Software 1 01-24-2006 10:49 PM
charsets nadine.mauch Programming 7 05-17-2005 05:00 AM
Mutt and charsets thereof Linux - Software 0 12-21-2003 06:14 AM

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

All times are GMT -5. The time now is 01:16 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