/*7. How to grant all privileges to a user from all machines. */ /*Syntax : grant [|] on [database].[|] to [user name]@[||] identified by ["password"]; */ grant all on posts.* to joy@'%' identified by 'mypassword'; flush privileges;