Help, WordPress username and password forgotten!

How can I change WordPress admin and password from the phpmyadmin? I've tried to login with all available names and password but couldn't. i have access to the cpanel and ftp, how can I change the username and password?