ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@unsafe.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] MySQL: установка и настройка
Date: Sun, 7 May 2006 00:11:41 +0400
Message-ID: <20060506201141.GB26997@lks.home> (raw)
In-Reply-To: <20060506192323.246d6266@greg>

Hi Grigory!

Saturday 06, at 07:23:23 PM you wrote:

> Hello Шенцев Алексей Владимирович!
> On Sat, 6 May 2006 16:55:39 +0400 you wrote:
> 
> > В сообщении от 6 мая 2006 16:46 Grigory Fateyev написал(a):
> > > А как сменить в 2.4 character set на другую кодировку?
> > Вот, вспомнил ответ на твой вопрос:
> > Q. Как обеспечить корректную работу MySQL с русскими символами при
> > сортировке и выборке данных?
> >  В /etc/my.cnf вписать в блоке [mysqld]:
> > default-character-set=koi8_ru (или cp1251)
> >   При работе с базой можно выставить рабочую кодировку через: SET
> > CHARACTER SET koi8_ru 
> 
> MySQL-server-4.0.24-alt0.M24.2
> # cat /var/lib/mysql/my.cnf | grep char
> default-character-set=cp1251
> 
> а кодировка всё равно koi8_ru
см. /etc/init.d/mysqld - там кодировка берется из локали, если не указана
напрямую.

-- 
WBR et al.


  reply	other threads:[~2006-05-06 20:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-06  7:06 ` Шенцев Алексей Владимирович
2006-05-06 12:46   ` Grigory Fateyev
2006-05-06 12:49     ` Шенцев Алексей Владимирович
2006-05-06 12:55     ` Шенцев Алексей Владимирович
2006-05-06 14:38       ` Grigory Fateyev
2006-05-06 15:23       ` Grigory Fateyev
2006-05-06 20:11         ` Konstantin A. Lepikhov [this message]
2006-05-17 10:48           ` Grigory Fateyev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060506201141.GB26997@lks.home \
    --to=lakostis@unsafe.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git