ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: [sisyphus] [SOLVED] Re:  как включить innoDB в MySQL 5.1 ?
Date: Fri, 30 Dec 2011 23:49:11 +0200
Message-ID: <20111230214910.GA543@osdn.org.ua> (raw)
In-Reply-To: <AANLkTinUzFNdi7Ld7pC7sD=6FBMDzNyU3f51V4+Agy+N@mail.gmail.com>

On Wed, Nov 10, 2010 at 09:38:32PM +0300, Michael Bykov wrote:
> Господа, на только что поставленной 5.1
> mysql> show variables like '%inno%';
[...]
> | have_innodb           | NO    |
[...]
> в /var/lib/mysql/my.cnf
[...]
> как запустить innoDB?

Для MySQL-server версии 5.1.50-alt1 и выше --
добавить в секцию [mysqld] my.cnf:

---
ignore-builtin-innodb
plugin-load=innodb=ha_innodb_plugin.so
--- http://dev.mysql.com/doc/innodb-plugin/1.0/en/innodb-plugin-installation-dynamic-posix.html

Это заодно и ответ на
http://lists.altlinux.org/pipermail/smoke-room/2010-November/060655.html

2 vitty: commit affdceb9 оказался немного диверсией,
т.к. поддержка innodb переехала в плагин, а в my.cnf
соответствующее добавлено не было (автоматом добавлять
надо аккуратнее, чем cat >>, понятное дело) -- хотя бы
в пакетный добавить было просто.  Объёмы проведённых
работ оценил и спасибо.  Предлагаю отправить в сизиф
и t6/p6 сборку на основе 5.1.60-alt2 из моего гита.

PS: обновлял контейнер до t6/branch, долго не мог понять,
почему service mysqld restart выполняется быстро, но mysql
после этого долго оттормаживается до того, как дать консоль
-- к сожалению, не сообразил посмотреть netstat до того,
как отправил контейнер в перезагрузку (mysqld молча не мог
bind()нуться по причине занятости порта, /var/lib/mysql/log
и /var/log/messages диагностикой по этому поводу не страдали).

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


       reply	other threads:[~2011-12-30 21:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-30 21:49 ` Michael Shigorin [this message]
2011-12-31  9:57   ` Vitaly Kuznetsov
2011-12-31 11:47     ` Michael Shigorin

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=20111230214910.GA543@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@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