Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

change password in mysql

UPDATE mysql.user SET authentication_string = PASSWORD('NEW_USER_PASSWORD')WHERE User = 'user-name' AND Host = 'localhost';FLUSH PRIVILEGES;CopyCopyCopied!
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #change #password #mysql
ADD COMMENT
Topic
Name
7+7 =