I've locked myself out of my CMSMS

Have tried
Which, if I read right should change password to 'admin'UPDATE cms_users SET password = '21232f297a57a5a743894a0e4a801fc3' WHERE user_id = 1;
No good.
Have also tried
Still no good.UPDATE cms_users SET password = md5('type_new_pass_here') WHERE user_id = 1;
I'm inputing the two commands above in the PHPMyAdmin window called 'Run SQL query/queries on database DBNAME'
But still cannot gain access....