Create Mysql user with all privileges.


CREATE USER ‘username’@’localhost’ IDENTIFIED BY ‘password’;
After that Grant privileges:
GRANT ALL PRIVILEGES ON *.* TO ‘user’@’localhost’ WITH GRANT OPTION;