You are here: Re: setting password for root « PHP Programming Language « IT news, forums, messages
Re: setting password for root

Posted by Alvaro G. Vicario on 09/02/06 09:34

*** Bob escribió/wrote (1 Sep 2006 16:49:19 -0700):
> I've installed MySQL on my WinXP desktop, along with Apache and PHP. I
> have not figured out how to set a password for the root account. I've
> been able to set up a user account for myself, with a password, but not
> the root account. I understand this is not ideal.
>
> I've tried setting the password in My.ini but it doesn't seem to work.
> I must be doing something wrong. Can anyone suggest what I should be
> doing. TIA

That's explained in the "Securing the Initial MySQL Accounts" chapter:


For Windows, do this:

shell> mysql -u root
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpwd');
mysql> SET PASSWORD FOR 'root'@'%' = PASSWORD('newpwd');



Read the whole chapter, though, there're other concerns.



--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация