ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Глодин С.В." <hlodin@komo.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] MySQL Кодировка
Date: Wed, 18 Apr 2007 15:28:05 +0300
Message-ID: <200704181528.07724.hlodin@komo.ua> (raw)
In-Reply-To: <4626058A.7040102@mail.ru>

Здравствуйте!

середа, 18-кві-2007, Vladimir Karpinsky написав:
> Можно ли сделать так, чтобы кодировка cp1251 использовалась в этой 
> базе или вообще по умолчанию всегда, без явного указания на 
> стороне клиента? 

Попробуйте в my.cnf, в секции [mysqld] прописать дополнительно:

init_connect='SET NAMES cp1251'

-- 
С уважением,
               С.В. Глодин



  reply	other threads:[~2007-04-18 12:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18 11:48 Vladimir Karpinsky
2007-04-18 12:28 ` Глодин С.В. [this message]
2007-04-18 17:03   ` Vladimir Karpinsky
2007-04-18 19:04     ` Konstantin A. Lepikhov
2007-04-19  4:04       ` Vladimir Karpinsky

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=200704181528.07724.hlodin@komo.ua \
    --to=hlodin@komo.ua \
    --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