Config connection to MySQL database using using a password as a token (Passwordless)

Can anyone help answer this?