ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksander N. Gorohovski" <angel@feht.dgtu.donetsk.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Re: autostart MySQL
Date: Mon, 17 Jan 2005 13:55:38 +0300
Message-ID: <opskqty0c6hz2pp6@oc.peooc.net> (raw)
In-Reply-To: <20050117105612.GS10926@osdn.org.ua>

On Mon, 17 Jan 2005 12:56:12 +0200, Michael Shigorin <mike@osdn.org.ua>  
wrote:

> On Mon, Jan 17, 2005 at 12:54:35PM +0300, Aleksander N. Gorohovski wrote:
>> Как по-граммотному  настроить автозагрузку mysql (без ручного
>> запуска safe_mysqld) при старте системы?
>
> Вот так:
>
>> Манипуляции
>> # chkconfig --level 345 mysqld on
>
> А это уже мелкая кувалдометрия, к тому же зачем так рано?:
>
>> или
>> # ln -s /etc/rc.d/init.d/mysqld  /etc/rc.d/rc3.d/S14mysqld
>> не помогают :-(
>> Система Master2.4.
>
> Вот про "не помогают" -- давайте подробнее.  У меня-то работает.
>

Хорошо, Миша.
Подробнее дело обстоит так:
Сделал
# chkconfig --level 345 mysqld on

Затем:
# service mysqld start | reload
mysqld что-то выдал FAILED

попробовал перезагрузил систему. Далее
# mysql -u root -p
Ругается:
ERROR 2002: Can't connect to local MySQL server throught socket  
'var/lib/mysql/mysql.sock (2)

Спускаю "демона" вручную с поводка:
# safe_mysqld

После чего нормально могу рабоать:
# mysql -u root -p

После перезагрузки все опять повторяется.


  reply	other threads:[~2005-01-17 10:55 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-17  9:54 [Comm] " Aleksander N. Gorohovski
2005-01-17 10:56 ` [Comm] " Michael Shigorin
2005-01-17 10:55   ` Aleksander N. Gorohovski [this message]
2005-01-17 11:50     ` Michael Shigorin
2005-01-17 15:49     ` Re[2]: " Alexey S. Kuznetsov
2005-01-17 22:13     ` Eugene Ostapets
2005-01-17 22:55       ` Konstantin A. Lepikhov
2005-01-18  7:13         ` Aleksander N. Gorohovski
2005-01-18  8:31           ` Eugene Ostapets
2005-01-18  7:51             ` Aleksander N. Gorohovski
2005-01-18 11:26         ` Michael Shigorin
2005-01-18 19:52           ` Eugene Ostapets
2005-01-19  7:43             ` Michael Shigorin
2005-01-19  7:39               ` Aleksander N. Gorohovski
2005-01-19  8:30                 ` Michael Shigorin
2005-01-19  7:54                   ` Aleksander N. Gorohovski
2005-01-19  8:49                     ` Michael Shigorin
2005-01-24 23:21                   ` Vitaly Lipatov
2005-01-25  6:01                     ` Aleksander N. Gorohovski
2005-01-25  7:46                       ` Michael Shigorin
2005-01-25 11:39                         ` Aleksander N. Gorohovski
2005-01-25 13:23                           ` Michael Shigorin
2005-01-25  7:45                     ` Michael Shigorin
2005-01-25 12:37                       ` Dmitry V. Levin
2005-01-26  8:51                         ` Vitaly Lipatov
2005-01-17 11:09   ` Andrew Pleskach
2005-01-17 11:01     ` Aleksander N. Gorohovski
2005-01-17 11:54       ` Andrew Pleskach

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=opskqty0c6hz2pp6@oc.peooc.net \
    --to=angel@feht.dgtu.donetsk.ua \
    --cc=community@altlinux.ru \
    /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