ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] MySQL и logrotate
Date: Tue, 18 Feb 2003 11:48:21 +0300
Message-ID: <20030218084821.GC29794@basalt.office.altlinux.org> (raw)
In-Reply-To: <3E51EA29.8050808@strat.chtts.ru>

[-- Attachment #1: Type: text/plain, Size: 1234 bytes --]

On Tue, Feb 18, 2003 at 11:09:13AM +0300, Egorov Alexey wrote:
> >В файле /etc/logrotate.d/mysql
> >написано, что если root в mysql имеет пароль, то нужно прописать его
> >в файле /root/.my.cnf
> >Прописываю. Эффекта не возымело.
> >Похоже, файл .my.cnf ищется не в каталоге root при выполнении
> >logrotate, а в корневом каталоге. Так это или нет ?
> >Если так, то, может, есть смысл поправить примечание в файле
> >/etc/logrotate.d/mysql или поправить все-таки скрипты, чтобы они
> >искали файл там где нужно. В коренб что-то не очень хочется его
> >класть.
> > 
> http://www.atmsk.ru/viewtopic.php?t=133

$ mysqladmin --help
[...]
Default options are read from the following files in the given order:
/etc/my.cnf /var/lib/mysql/my.cnf ~/.my.cnf 
The following groups are read: mysqladmin client
The following options may be given as the first argument:
--print-defaults        Print the program argument list and exit
--no-defaults           Don't read default options from any options file
--defaults-file=#       Only read default options from the given file #
--defaults-extra-file=# Read this file after the global files are read

В /etc/logrotate.d/mysql опечатка, и "/root/.my.cnf" следует
читать как "/etc/my.cnf".


--
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2003-02-18  8:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-18  7:47 Nicholas Tretyachenko
2003-02-18  8:09 ` Egorov Alexey
2003-02-18  8:31   ` [sisyphus] Re[2]: " Nicholas Tretyachenko
2003-02-18  8:48     ` Герасимов Дмитрий
2003-02-18  9:07       ` [sisyphus] Re[2]: " Nicholas Tretyachenko
2003-02-18  8:48   ` Dmitry V. Levin [this message]
2003-02-18  9:14     ` Nicholas Tretyachenko
2003-02-18 10:08       ` Dmitry V. Levin
2003-02-18 20:59         ` [sisyphus] Re[2]: " Nicholas Tretyachenko
2003-02-18  9:18     ` Yura Kalinichenko
2003-02-18 10:07       ` Dmitry V. Levin
2003-02-18 11:42         ` Yura Kalinichenko
2003-02-18 12:17           ` Albert R. Valiev
2003-02-18 12:17           ` Dmitry V. Levin
2003-02-18 15:02             ` Yura Kalinichenko
2003-02-18 15:54               ` Dmitry V. Levin
2003-02-18 20:42                 ` Yura Kalinichenko
2003-02-18 11:44         ` [sisyphus] " Artem K. Jouravsky
2003-02-21  9:54           ` 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=20030218084821.GC29794@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=sisyphus@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 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