How can you change the password of a mysql user?



How can you change the password of a mysql user?..

Answer / Kumar Nishant

You can change the password of a MySQL user using SET PASSWORD statement. For example: `SET PASSWORD FOR 'user'@'localhost' = PASSWORD('new_password');`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

What is the different between NOW() and CURRENT_DATE()?

1 Answers  


What is mysql and how it works?

1 Answers  


List some comparisons operators used in mysql?

1 Answers  


How do you start MySQL on Linux?

3 Answers  


How many columns can a mysql table have?

1 Answers  


What is mysql primary key?

1 Answers  


How do I grant privileges to a user in mysql phpmyadmin?

1 Answers  


How do you restart mysql?

1 Answers  


Explain about reporting services of MYSQL?

1 Answers  


How do I connect to a database in mysql workbench?

1 Answers  


How do you name a table?

1 Answers  


What is mysqlcommand?

1 Answers  


Categories