ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksander N. Gorohovski" <angel@feht.dgtu.donetsk.ua>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] service mysqld start -> Adjusting environment for mysqld
Date: Tue, 19 Sep 2006 12:30:25 -0000
Message-ID: <op.tf4k0zxwhz2pp6@oc.peooc.net> (raw)
In-Reply-To: <200609191316.43483.ashen@nsrz.ru>


Алексей,
Премного благодарен за Вашу подробную инструкцию.

Но...

On Tue, 19 Sep 2006 09:16:43 -0000, Шенцев Алексей Владимирович  wrote:

> В сообщении от 19 сентября 2006 15:54 Aleksander N. Gorohovski  
> написал(a):
>> Алексей,
>> так чтоб настраивать его, надо чтобы он, по крайней мере, был запущен?
>> Может я ошибаюсь?
> Ошибаетесь. Думаю Вам это будет интересно прочесть, только учтите  
> "rootpass"
> это для примера:
>
> Займёмся SQL-сервером MySQL. Устанавливаем MySQL-server, MySQL-client,
> MySQL-doc, phpMyAdmin и всё что они за собой потянут. Смотрим на каких

Это условие выполнено (было установлено).

> уровнях ОС запскается mysql:
> $ chkconfig --list | grep mysqld
> mysqld 0:выкл 1:выкл 2:выкл 3:выкл 4:выкл 5:выкл 6:выкл
> Устанавливаем запуск mysqld на 3,4, и 5-ом уровнях:
> $ chkconfig --level 345 mysqld on
> Проверяем:
> $ chkconfig --list | grep mysqld
> mysqld 0:выкл 1:выкл 2:выкл 3:вкл 4:вкл 5:вкл 6:выкл

Это условие выполнено.

>  В конфиге mysql - /var/lib/mysql/my.cnf коментируем строку  
> skip-networking.
> Нам это надо для того, чтобы можно было обратиться к mysql из сети, ибо  
> мы
> хотим им управлять из любой точки нашей ЛВС по веб-интерфейсу, ну а от  
> инета
> доступ мы закроем файерволом (как и что это уже не здесь). Итак конфиг  
> mysql
> мы привели к виду:
> $ cat /var/lib/mysql/my.cnf
> [mysqld]
> chroot=/var/lib/mysql
> datadir=/db
> bdb-logdir=/log
> log=/log/queries
> pid-file=/mysqld.pid
> skip-locking
> #skip-networking
> socket=/mysql.sock
> tmpdir=/tmp
> user=mysql

Об этом не знал. Внес изменения
(правда на запуск mysql вроде не должно влиять).


> Запускаем mysql:
> $ service mysqld start
> Adjusting environment for mysqld: [ DONE ]

Вот тут облом. Выдаёт [FAILED]
Что же ему не нравится? Почему не может "Устанавиться окружение" ?

И почему на команду:
# safe_mysqld
он стартует.

> Starting mysqld service: [ DONE ]

Этого конечно нет.
:(

Большое Спасибо, дальнейшие настройки выполнены.
Но к сожалению они действительны для стартовавшего MySQL.

<skipped>


  reply	other threads:[~2006-09-19 12:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-19 11:35 Aleksander N. Gorohovski
2006-09-19  8:55 ` Шенцев Алексей Владимирович
2006-09-19 11:54   ` Aleksander N. Gorohovski
2006-09-19  9:16     ` Шенцев Алексей Владимирович
2006-09-19 12:30       ` Aleksander N. Gorohovski [this message]
2006-09-19  9:55         ` Шенцев Алексей Владимирович
2006-09-19 10:02           ` Шенцев Алексей Владимирович
2006-09-19 10:08         ` Kostarev Alexey
2006-09-19 12:49         ` Aleksander N. Gorohovski
2006-09-19 10:07 ` Мерзляков Евгений Анатольевич

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=op.tf4k0zxwhz2pp6@oc.peooc.net \
    --to=angel@feht.dgtu.donetsk.ua \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git