Q:

How to grant all privileges to a user from all machines

0

 How to grant all privileges to a user from all machines.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

grant [<permission_1,permission_2,...permission_n>|<all>] 
on [database].[<table_name>|<all_tables(*)>] 
to [user name]@[<localhost>|<IP address>|<any host('%')>] 
identified by ["password"];

Example :

grant all on posts.* to joy@'%' identified by 'mypassword';
flush privileges;

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now