---
title: "How to Change a users password from unix shell?"  
description: "How to Change a users password from unix shell?"  
author: "Anonymous User"  
published: 2012-02-13  
updated: 2020-09-16  
canonical: https://www.mindstick.com/interview/1389/how-to-change-a-users-password-from-unix-shell  
category: "mysql"  
tags: ["mysql"]  
reading_time: 1 minute  

---

# How to Change a users password from unix shell?

# [mysql dir]/bin/mysqladmin -u username -h hostname -p password 'new_password'

## Answers

### Answer by Anonymous User

# [mysql dir]/bin/mysqladmin -u username -h hostname -p password 'new_password'


---

Original Source: https://www.mindstick.com/interview/1389/how-to-change-a-users-password-from-unix-shell

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
