Find the answer to your Linux question:
Results 1 to 2 of 2
Hi How can I change a users password in mysql? Ive been looking all over for this answer and so far the only thing I can find is to do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2003
    Posts
    56

    mysql


    Hi
    How can I change a users password in mysql? Ive been looking all over for this answer and so far the only thing I can find is to do it with webmin, which I dont have. Can I do it with mysqladmin? Thanks

  2. #2
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    Code:
    mysqladmin -u user password <new password>
    or log into mysql and type
    Code:
    GRANT <priv> ON <db> TO <user@host> IDENTIFIED BY '<password>';

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •