From: "Igor V. Krutyakov" <lighter@stl.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Mysql root password
Date: Tue, 30 Mar 2004 23:16:07 +1100
Message-ID: <200403302316.07658.lighter@stl.ru> (raw)
In-Reply-To: <200403301358.02045.dikov@imbg.org.ua>
Доброго Вам!
В сообщении от 30 Март 2004 21:58 Dmitry Kovalsky написал(a):
> > mysqld --skip-grant-tables --user mysql &
> > и сменил пароль ручками в таблице user базы mysql.
>
> сорри за ламерство (я с MySQL вааще не дружу но надо чтоб она крутилась на
> машине) можно написать более подробно как и где его менять
Запускается демон mysqld с параметрами (см. выше процитированное), очень
желательно - на недоступной удалённо машине (т.к. вышеуказанные ключи пущают
всех во все таблицы со всеми правами).
Потом берётся для удобства MySQL Navigator или какая другая гуишная
базосмотрелка, в которой есть инструменты работы с юзерами.. Можно и из
консоли mysql пускать и запросами, запросами... только я не мазохист..
Соединяешься как root к базе mysql, пароль можно оставить пустым, пустит всё
равно. Открываешь Users, давишь RMB на root, Modify, пароль, Fire. Вуаля.
Потом расконнект, ps -aux | grep mysqld, см. pid, kill pid
#service mysqld restart
Примерно так. вышеуказанные операции производил на FreeBSD, но не думаю, что
в ALM оно будет сильно различаться.
--
С уважением,
Игорь
next prev parent reply other threads:[~2004-03-30 12:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-29 16:23 Dmitry Kovalsky
2004-03-29 16:32 ` Michael Bykov
2004-03-29 19:55 ` Dmitry Kovalsky
2004-03-29 20:37 ` iceb
2004-03-29 22:15 ` Igor V. Krutyakov
2004-03-30 10:58 ` Dmitry Kovalsky
2004-03-30 11:54 ` Dmitry Kovalsky
2004-03-30 12:16 ` Igor V. Krutyakov [this message]
2004-03-30 2:14 ` Maxim.Savrilov
2004-04-08 17:20 ` Krutoj Anton
2004-04-09 2:50 ` Maxim.Savrilov
2004-04-09 3:41 ` Mike Lykov
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=200403302316.07658.lighter@stl.ru \
--to=lighter@stl.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