Configuring MySQL without Password on Ubuntu

Everytime when I access to mysql database that is installed in my laptop, I need to perform the following command in order to get the access:

sudo mysql -hlocalhost -ppassword

I feel frustrated and tedious to do that everytime when I need to access to the database. If I try it with the command ‘mysql’, I will [...]