How to Grant all the permissions to User in MariaDB

How to Grant all the permissions to User in MariaDB explains all the steps which are required to create a user in MariaDB and provide him all the permissions like root in MariaDB.