how to grant a specific mysql user all permissions code example Example: mysql user permission database GRANT ALL PRIVILEGES ON `db_name`.* TO 'user'@'host'