mysql password not working -


possible duplicate:
how reset mysql root password ?

i executed query

update mysql.users set password= password('123456') users='root' , host='localhost'; flush priviledges; 

and after mysql not running. phpmyadmin , mysql console both not working

#1045 - access denied user 'root'@'localhost' (using password: yes)

there's typo here:

flush priviledges; 

should be

flush privileges; 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -