From: "Yuri N. Glibovetz" <gyn61@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] mysql log rotation
Date: Sat, 25 Dec 2004 15:38:13 +0200
Message-ID: <41CD6D45.6070100@mail.ru> (raw)
In-Reply-To: <41CD6730.3020208@iop.kiev.ua>
Andriy Dobrovol`s`kii пишет:
> Hi,
> Никогда раньше не имел дела с базами данных. Сейчас понадобилось.
> Поставил MySQL. Как рекомендуется в доках, дал пароли на
> административные счета. В кроне не работает ротация логов. Как
> "идеологически правильно" настроить безопасную ротацию лога?
> Указать пароль администратора в конфиге? Что-то "руки трясутся"...
В файле /var/lib/mysql/my.cnf добавить:
[mysqladmin]
password = пароль_для_root
user= root
Права на файл:
-rw------- 1 root root 216 Aug 4 22:59 my.cnf
next prev parent reply other threads:[~2004-12-25 13:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-25 13:12 Andriy Dobrovol`s`kii
2004-12-25 13:38 ` Yuri N. Glibovetz [this message]
2004-12-25 13:39 ` Andriy Dobrovol`s`kii
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=41CD6D45.6070100@mail.ru \
--to=gyn61@mail.ru \
--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