mysql grant all privileges to a user
snippet in sql

mysql grant all privileges to a user

user6928

GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';