From: Afanasov Dmitry <afanasovdmitry@gmail.com> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] mysql - utf8 - не выполняет команду с первого раза Date: Tue, 20 Jan 2009 00:30:37 +0300 Message-ID: <9d5146970901191330v4da925ftacd5c2df14f02ce3@mail.gmail.com> (raw) In-Reply-To: <69c7dc8b0901191255g93ded8co8f3b96c3525b42db@mail.gmail.com> 19.01.09, Michael Bykov<m.bykov@gmail.com> написал(а): > [mysqld] > init-connect='set names utf8' брр, всю чать жизни, что юзаю 5.x делал (в локальном .my.cnf): [client] default-character-set=utf8 > при этом строчка init-connect= set names utf8' отрабатывает, вот видно: > mysql> show variables like 'init%'; > | init_connect | set names utf8 | init-connec отрабатывает, не спорю - переменная установилась. а вот отрабатвыает ли set names я б смотрел в query.log. > дальше даю команду в самом клиенте > mysql> set names utf8; а это не равно init-connect, как мне кажется :) и все равно, мне тоже интересно, чего тут не так. всюду в google советуют использовать init-connect, это я как я рыжий default-character-set использую, а то и патчу код... -- С уважением Афанасов Дмитрий
next prev parent reply other threads:[~2009-01-19 21:30 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-01-19 20:55 Michael Bykov 2009-01-19 21:30 ` Afanasov Dmitry [this message] 2009-01-20 13:15 ` Michael Bykov 2009-01-20 13:41 ` Konstantin A. Lepikhov 2009-01-20 14:04 ` Michael Bykov 2009-01-20 14:15 ` Konstantin A. Lepikhov 2009-01-20 16:25 ` Nikolay A. Fetisov 2009-01-20 16:46 ` Michael Bykov
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=9d5146970901191330v4da925ftacd5c2df14f02ce3@mail.gmail.com \ --to=afanasovdmitry@gmail.com \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git