MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:donnie Date:February 6 2001 6:36pm
Subject:Re: DEfault passwords
View as plain text  
i just answered my own question:::


shell> mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD('new_password')
           WHERE user='root';
mysql> FLUSH PRIVILEGES;

You can, in MySQL Version 3.22 and above, use the SET PASSWORD statement: 

shell> mysql -u root mysql
mysql> SET PASSWORD FOR root=PASSWORD('new_password');

RTFM

donnie


On Tue, 6 Feb 2001, D.Lewis wrote:

> Greetings.
> 
> I just installed mySQL( mysql-3.23.29a-gamma-sun-solaris2.8-sparc) on a
> E150 using the script mySQL/configure......
> 
> One of the msg that was printed was to change the root password.
> however to change the root password you need to know the original
> password(s).
> 
> What are the default password...? and can someone send me an example on
> changing the password...?
> 
> thanks
> 
> donnie
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread64357@stripped>
> To unsubscribe, e-mail <mysql-unsubscribe-del=obsidian.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 

Thread
DEfault passwordsD.Lewis6 Feb
  • Re: DEfault passwordsdonnie6 Feb