[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re[2]: Root dla mysql



Witaj,

Tuesday, February 11, 2003, 1:48:13 PM, napisal:


AR> ----- Original Message -----
AR> From: "Bogusław Olszewski" <bogus@netpol.one.pl>
AR> To: "debian-user-polish" <debian-user-polish@lists.debian.org>
AR> Sent: Tuesday, February 11, 2003 8:22 AM
AR> Subject: Root dla mysql


>> Witam,
>>
>> Od jakiegoś czasu mam problem, który umarł nie roziwązany na innej
>> liście. Jak odzyskać zapomniane hasło roota w mysql mając roota w
>> systemie?
>>
>> --
>> Pozdrowienia,
>>  B.O.                          mailto:bogus@netpol.one.pl
>>
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-polish-request@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
AR> listmaster@lists.debian.org
>>

AR> Hail.

AR> a.. login as unix root
AR> a.. stop mysqld (/etc/init.d/mysqld stop)
AR> a.. start mysqld (/usr/bin/safe_mysqld --skip-grant-tables)
AR> a.. login into the mysql server (mysql -u root mysql)
AR> a.. change the root password (update user set
AR> password=password('new_password') where user='root';)
AR> a.. flush the privileges for the change to take effect (flush privileges;)
AR> a.. exit the database (quit)
AR> a.. stop the database (might need to kill the process)
AR> a.. restart the database as normal (/etc/init.d/mysqld start)

AR> a ode mnie: jesli 3 linijka bedzie sprawiac problemy, po prostu odpal
AR> /etc/init.d/mysql start --skip-grant-tables
AR> w linijce przedostatniej jesli nie chce sie stopnac uzyj kill (nr) a nie
AR> kill -9 (nr)

AR> kilka razy juz to robilem i zawsze dziala.

Jestes wielki!!!
I wielkie dzięki :)


-- 
Pozdrowienia,
 B.O.                            mailto:bogus@netpol.one.pl




Reply to: