Re: offtopic : Mysql
| From: | luis mario | Date: | Tue, 02 Jul 2002 01:58:13 +0000 |
| Subject: | Re: offtopic : Mysql | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-24396@lists.php.net to get a copy of this message | ||
Hola
aqui lo tienes espero que te sirva
Use the procedure below to reset the root mysql password when forgotten by the server administrator:
log into the server as user root
stop the mysql server
/etc/rc.d/init.d/mysql stop
restart safe_mysqld with option --skip-grant-tables
/usr/bin/safe_mysqld -Sg
type mysql_admin and when prompted for the password, hit enter on your keyboard
select option 1 and enter root for the user and a password for user root, select either localhost for the server
select 0 to exit mysql_admin
type mysql -u root -p
when prompted for a password hit enter
at the mysql prompt type: flush privileges;
type quit
your new root password is now in effect
saludos
luis mario
At 07:49 p.m. 01/07/2002 -0600, you wrote:
Alguien sabe como cambiar el password a mysql sin tener el anterior Gracias __________________________________________________________________ Najera Nuñez ICQ#: 18647437 Current ICQ status: a6567d.jpg + <http://wwp.icq.com/18647437>More ways to contact me ______________________________