ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Kovalsky <dikov@imbg.org.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Mysql root password
Date: Mon, 29 Mar 2004 21:55:24 +0200
Message-ID: <200403292255.24530.dikov@imbg.org.ua> (raw)
In-Reply-To: <20040329203254.2e920d93.michael@michael.rsuh.ru>

On Monday 29 March 2004 19:32, Michael Bykov wrote:
> On Mon, 29 Mar 2004 18:23:51 +0200
>
> Dmitry Kovalsky <dikov@imbg.org.ua> wrote:
> > привет
> > есть возможность както забить новый пароль рута в сабже?
> >
> > А то старый забыл и  не могу залогинится
>
> Это раздел в документации /usr/share/doc/MySQLxxx:
>
> A.4.2 How to Reset a Forgotten Root Password

 я могет чтото делаю не так но при попытке поменять пароль как описанно в 
мануале получаю 

[root@gwin conf.d]# /usr/libexec/mysqld --skip-grant-tables --user=mysql
Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add to the [mysqld]
section, for example,
innodb_data_file_path = ibdata1:10M:autoextend
But to get good performance you should adjust for your hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
/usr/libexec/mysqld: ready for connections

[root@gwin conf.d]# ps ax|grep mysql
13534 pts/6    S      0:00 /usr/libexec/mysqld --user=root --skip-grant-tables
13662 pts/4    S      0:00 grep mysql
[root@gwin conf.d]# mysqladmin -user=root password `ROOTPASSWD`
mysqladmin: unable to change password; error: 'You must have privileges to 
update tables in the mysql database to be able to change passwords for 
others'

или прав линухового рута не достаточно??

-- 
Sincerely yours,

Ph.D. Student Dmytro Kovalskyy
Institute of Molecular Biology & Genetics
150 Akad. Zabolotnogo Street,
Kiev-143, 03143
UKRAINE

E-mail: dikov@imbg.org.ua
Fax:  +380 (44) 266-0759
Tel.: +380 (44) 266-5589





  reply	other threads:[~2004-03-29 19:55 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 [this message]
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
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=200403292255.24530.dikov@imbg.org.ua \
    --to=dikov@imbg.org.ua \
    --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