ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] mysql копирование кусков
Date: Thu, 01 Mar 2012 17:40:11 +0400
Message-ID: <4F4F7C3B.8000206@mail.ru> (raw)
In-Reply-To: <4F4F5699.10506@altlinux.ru>

01.03.2012 14:59, Anton Gorlov пишет:
> 01.03.2012 12:49, Vladimir Karpinsky пишет:
>> 01.03.2012 11:57, Anton Gorlov пишет:
>>> или подключать базу от 2 сервера как federated
>>
>> Ещё одно новое слово выучил, спасибо ;-) Во описании сказано, что для
>> использования federated надо пересобирвть mysql. Пересобирать надо со
>> стороны "сервера" или "клиента".
>>
> посмотри- мб и собрано уже с поддержкой этого. поддержка как я понимаю
> должна быть с обоих сторон.. хотя мб и только на сервере куда..

Я попробовал, но не получилось. Таблица создаётся с двумя предупреждениями 
(кстати, где их можно посмотреть?), но select выдаёт пустоту.

Попытка прописать federated в my.cnf приводит к невозможности запуска 
mysqld для Альта (под Солярисом тихо). Ругань такая:

# service mysqld restart
Sending TERM signal to mysqld: 
        [ DONE ]
Waiting, while mysqld actualy stopped: 
        [ DONE ]
Installing all prepared tables
120301 12:56:04 [Warning] '--default-character-set' is deprecated and will 
be removed in a future release. Please use '--character-set-server' instead.
120301 12:56:04 [Note] Plugin 'InnoDB' is disabled.
120301 12:56:04 [ERROR] /usr/sbin/mysqld: unknown option '--federated'
120301 12:56:04 [ERROR] Aborting

120301 12:56:04 [Note] /usr/sbin/mysqld: Shutdown complete

Installation of system tables failed!

Examine the logs in /var/lib/mysql/log for more information.
You can also try to start the mysqld daemon with:
/usr/sbin/mysqld --skip-grant &
You can use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql/log that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
Adjusting environment for mysqld: 
        [ DONE ]
Starting mysqld service: 
        [ DONE ]

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


  reply	other threads:[~2012-03-01 13:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-01  6:21 Vladimir Karpinsky
2012-03-01  6:39 ` Anton Gorlov
2012-03-01  7:07   ` Vladimir Karpinsky
2012-03-01  7:29     ` Nikolay A. Fetisov
2012-03-01  7:57     ` Anton Gorlov
2012-03-01  8:49       ` Vladimir Karpinsky
2012-03-01 10:59         ` Anton Gorlov
2012-03-01 13:40           ` Vladimir Karpinsky [this message]
2012-03-01 13:44             ` Anton Gorlov
2012-03-01 15:35               ` Vladimir Karpinsky
2012-03-02  5:59                 ` Anton Gorlov
2012-03-02  7:32                   ` Vladimir Karpinsky
2012-03-01  7:53   ` Vladimir Karpinsky
2012-03-01  8:04     ` Леонид Сысолетин
2012-03-01  8:13       ` Anton Gorlov
2012-03-01  8:19         ` Леонид Сысолетин
2012-03-01  8:31           ` Anton Gorlov
2012-03-01  8:48           ` 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=4F4F7C3B.8000206@mail.ru \
    --to=vkarpinsky@mail.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