ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] MySQL order by and charset
@ 2008-04-24 11:36 Alexey Morsov
  0 siblings, 0 replies; only message in thread
From: Alexey Morsov @ 2008-04-24 11:36 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

[-- Attachment #1: Type: text/plain, Size: 995 bytes --]

Приветствую,

Не могу заставить MySQL (5) сортировать по русские буквы по алфавиту. Т.е.
надо скажем сортировать по полю Name - где русские имена. Получаю кашу
какую-то.


В my.cnf 
collation_server=utf8_bin
default-character-set=utf8
character_set_server=utf8

таблицы создались (загружен дамп из 4ой версии с предварительным iconv) с
ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin

Куда ему еще можно хвост накрутить? Это ж издевательство какое-то 2008 год
сортировать так и не научили этот мускуль.


-- 
WBR,
Alexey Morsov
программист ЗАО "ИК "Риком-Траст"
Jabber: samurai@www.fondmarket.ru
ALT Linux Team Member

<php-coder> ГУГЛ реальная вещь!

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-24 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-24 11:36 [Sysadmins] MySQL order by and charset Alexey Morsov

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