Re: mySQL password file.
| From: | Chris Adams | Date: | Sun, 25 Jun 2000 23:13:11 +0000 |
| Subject: | Re: mySQL password file. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3049@lists.php.net to get a copy of this message | ||
> U¿ytkownik Troels Arvin <troels@arvin.dk> w artykule
> news:39564A7E.E05348D6@arvin.dk napisa³...
> > Adam Charnock <adamcharnock@btinternet.com> wrote:
> > > Can anyone tell me which file on my ded. server is likely to have the mySQL
> > > encrypted password and login in it?
> >
> > /var/lib/mysql/mysql/user.ISD
> > However, it's not a plain-text file.
> >
> > If you have lost your root-password to the MySQL server, then
> > 1) close it,
>
> How can he close it if he doesn't know or forgot the password ? He can only kill
> it with -9 option presumably...
It shouldn't be necessary to use -9 if you're logged in as root or the user that started
MySQL. A
regular kill shouldn't break anything.