how to interprete this GRANT ALL PRIVILEGES ON * . * TO 'user'@'%'; code example
Example: grant user all privileges
mysql> GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
mysql> GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';