ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Timur Batyrshin <batyrshin@ieml.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] mysql
Date: Fri, 14 Sep 2007 13:56:26 +0400
Message-ID: <20070914135626.1217865f@batyrshin.ieml.ru> (raw)
In-Reply-To: <20070914094345.GA16973@xeon.vladregion.ru>

Alexander Volkov (Fri, 14 Sep 2007 13:43:47 +0400):

> MAP> 14.09.07, Timur Batyrshin написал(а):
> MAP> > А как у нас включается сеть в mysql5 ?
> MAP> > Закомментировал строчку skip-networking
> MAP> > в  /var/lib/mysql/my.cnf, перезапустил сервис. Больше ничего
> MAP> > из стандартной установки не трогал.
> MAP> >
> MAP> > Все равно выдается ошибка:
> MAP> > [root@mysql /]# mysqladmin -h 10.0.0.2 -u root password
> MAP> > 'secretpassword' mysqladmin: connect to server at '10.0.0.2'
> MAP> > failed error: 'Host '10.0.0.2' is not allowed to connect to
> MAP> > this MySQL server'
> MAP> >
> MAP> > Что-то еще нужно сделать?
> добавить разрешение руту подключаться с 10.0.0.2?

Вот в чем дело. Создал отдельного пользователя - все заработало.
Тогда другой вопрос.

Раз доступ руту с внешних интерфейсов запрещен, значит пароль на него
достаточно на доступ с локалхоста выставить? Или можно как-нибудь
задать ему пароль (на всякий случай) и при запрещенных подключениях
снаружи?


  reply	other threads:[~2007-09-14  9:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-14  9:12 Timur Batyrshin
2007-09-14  9:17 ` Mikhail A. Pokidko
2007-09-14  9:34   ` Timur Batyrshin
2007-09-14  9:43   ` Alexander Volkov
2007-09-14  9:56     ` Timur Batyrshin [this message]
2007-09-14 10:03       ` Alexander Volkov
2007-09-14  9:47 ` LIO

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=20070914135626.1217865f@batyrshin.ieml.ru \
    --to=batyrshin@ieml.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

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

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


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