How to change a password for an existing user via mysqladmin?



How to change a password for an existing user via mysqladmin?..

Answer / Rohit Agrawal

To change a password for an existing user via mysqladmin, use the following command: `mysqladmin -u username password new_password`. Replace 'username' with your actual username and 'new_password' with the new password.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

Create table employee (eno int(2),ename varchar(10)) ?

1 Answers  


How to get nth highest salary from table in a mysql?

1 Answers  


What is the difference between a Table and a View?

3 Answers  


what is cte? : Mysql dba

1 Answers  


What is auto increment in mysql?

1 Answers  


What is slow query log in mysql?

1 Answers  


What are triggers in mysql?

1 Answers  


How can you change the password of a mysql user?

1 Answers  


How can you do the fine tunning?

3 Answers   ACC,


How can increase the performance of MySQL select query?

3 Answers   RV Technologies, Span Systems,


Is mysql owned by oracle?

1 Answers  


What is pdo connection?

1 Answers  


Categories