what is Mysql access user and pass
Posted by: elecit (80.191.244.---)
Date: December 23, 2005 08:58AM

I installed WAMP but ia have problem to use mysql what is mysql password ??? how i can change it .. ??


Options: ReplyQuote
Re: what is Mysql access user and pass
Posted by: sirquits (---.asia.info.net)
Date: December 23, 2005 09:07AM

mysql password? maybe you are refering to mysql root user's password? u can set this in the mysql console and executing the command(as taken from the mysql manual):

c:\> mysql -u root
mysql> UPDATE mysql.user SET Password=PASSWORD('newpwd')
-> WHERE User='root';
mysql> FLUSH PRIVILEGES;

Options: ReplyQuote
Re: what is Mysql access user and pass
Posted by: elecit (80.191.244.---)
Date: December 23, 2005 10:02AM

سلام كسي اينجا فارسي ياد نداره ؟؟؟؟؟؟؟؟
that guide is not true at WAMP I must use the icon program ...

Options: ReplyQuote
Re: what is Mysql access user and pass
Posted by: Dmitry (---.bulldogdsl.com)
Date: January 15, 2006 11:59AM

Awesome!

You saved me!

Options: ReplyQuote
Re: what is Mysql access user and pass
Posted by: Dmitry (---.bulldogdsl.com)
Date: January 15, 2006 12:00PM

sirquits wrote:

> mysql password? maybe you are refering to mysql root user's
> password? u can set this in the mysql console and executing the
> command(as taken from the mysql manual):
>
> c:\> mysql -u root
> mysql> UPDATE mysql.user SET Password=PASSWORD('newpwd')
> -> WHERE User='root';
> mysql> FLUSH PRIVILEGES;

Awesome!

You saved me!


Options: ReplyQuote
Re: what is Mysql access user and pass
Posted by: jp (---.netvigator.com)
Date: January 16, 2006 08:17AM

but how do we get our username i only got password by this code?


Options: ReplyQuote
Re: what is Mysql access user and pass
Posted by: Dmitry (---.bulldogdsl.com)
Date: January 16, 2006 05:22PM

jp wrote:

> but how do we get our username i only got password by this
> code?
>

Well, the point here is to change the password for the root, who is the administrator. Then using PhpMyAdmin interface you can go to Privileges and create more users there. There sure must be a way to do it through the command line but why bother?

Another thing, when you've changed the password for root you should open config.inc.php in PhpMyAdmin folder and change $cfg['Servers'][$i]['password'] value to your new password - $cfg['Servers'][$i]['password'] = 'YourNewPasswordHere';

That one is located on line 73.

If you don't have a config.inc.php that means you just unpacked PhpMyAdmin. In this case locate config.default.php in the PhpMyAdmin folder make a copy of it in the same folder and rename the copy to config.inc.php then edit it as mentioned.

As I understand the command line feature to change password works very well in case you forgot your password or if one of the users forgot theirs. In that case Administrator has the ability to reset it to new one.
I hope that helps

Options: ReplyQuote
Re: what is Mysql access user and pass
Posted by: Futureman (---.houston.res.rr.com)
Date: January 27, 2006 10:35AM

That **** does not work!

Options: ReplyQuote
Re: what is Mysql access user and pass
Posted by: minos_cr (201.194.234.---)
Date: December 01, 2006 02:02PM

Exelente, si funciona.
Muchisimas gracias
smiling smiley
Thanks

Options: ReplyQuote
Re: what is Mysql access user and pass
Posted by: yfastud (---.cable.mindspring.com)
Date: December 01, 2006 07:09PM

Hey Futureman, which **** does not work! Check my old post here

[forum.wampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.