Azazia Software Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

Change the MySQL root password at the SQL prompt

Add comment
Views: 578
Votes: 0
Comments: 0
Posted: 09 Jan, 2009
by: Patridge B.
Updated: 09 Jan, 2009
by: Patridge B.

1) Login to mysql server, type following command at shell prompt:

$ mysql -u root -p

2) Use mysql database (type command at mysql> prompt):

mysql> use mysql;

3) Change password for user vivek:

mysql> update user set password=PASSWORD("NEWPASSWORD") where User='vivek';

4) Reload privileges:

mysql> flush privileges;
Others in this Category
document What is 8 Lab?
document Can I run Data Center Audit on Apache Linux/UNIX?
document What web browsers are compatible with Data Center Audit?
document Does Data Center Audit self populate it's database by performing auto-discovery?
document What does Azazia mean?
document Why did the owner name the company Azazia?
document What does CMDB mean?
document Upgrading to the full version from the demo
document What is WAMP and what is XAMPP?
document Using an alternate MySQL user account other than the MySQL root user with Data Center Audit (DCA)
document Logging out causes the screen to constantly reboot. Display says "Deleting cookie"



RSS