In a unix shell:
mysql -uroot -p
Then in the mysql shell:
use mysql; update user set password=PASSWORD("newpass") where User='YOUR_USERNAME'; flush privileges; quit
Your email is never published nor shared. Required fields are marked *
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
I've got a masters degree in computer science and over 10 years of experience building web-based systems using Java/J2EE, Ruby, Rails and PHP. I'm a strong believer in the effectiveness of Agile Methods. Read more »
Change Any MySQL User Password
In a unix shell:
Then in the mysql shell:
use mysql; update user set password=PASSWORD("newpass") where User='YOUR_USERNAME'; flush privileges; quit