From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] dspam-webui & apache2 & mysql
Date: Mon, 24 Sep 2007 21:13:41 +0400
Message-ID: <46F7F045.8000904@stc.donpac.ru> (raw)
In-Reply-To: <200709241738.52814.ashen@nsrz.ru>
Алексей Шенцев пишет:
> Всем привет!
> Пытаюсь заставить рабоать dspam-webui.
> Окно запроса авторизации выдаётся. Но залогинется не могу. При этом в логах
> апача вот такое:
> [Mon Sep 24 17:34:14 2007] [error] [client 192.168.2.135] MySQL ERROR: Access
> denied for user 'apache2'@'localhost' (using password: NO)
> [Mon Sep 24 17:34:14 2007] [error] [client 192.168.2.135] MySQL user dspam not
> found: /reports/dspam/
>
> Понять не могу, а от куда берётся 'apache2'@'localhost' (using password: NO)
> Кто что может сказать по сему поводу?
mysql и psql (консольные клиенты) любят в качестве имени пользователя по
умолчанию подставлять unix name, может и их клиентское API поступает также?
выходы:
1) завести именно такого пользователя 'apache2'@'localhost' без пароля
2) завести другого, а в коде dspam-webui найти место, где его можно было
бы прочитать из какого-то конфига
--
С уважением,
Прокопьев Евгений
prev parent reply other threads:[~2007-09-24 17:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-24 13:38 Алексей Шенцев
2007-09-24 17:13 ` Eugene Prokopiev [this message]
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=46F7F045.8000904@stc.donpac.ru \
--to=prokopiev@stc.donpac.ru \
--cc=sisyphus@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 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