Perz
Perz

Reputation: 1

How to grant all privileges to specific user to remote ip

This command work

GRANT ALL ON hmremote.* TO 'uber'@'localhost';

but this don't

GRANT ALL ON hmremote.* TO 'uber'@'111.111.111.111';

ERROR 1410 (42000): You are not allowed to create a user with GRANT

Also tried with.

GRANT ALL ON hmremote.* TO 'uber'@'111.111.111.111' IDENTIFIED BY 'password';

What did I do wrong? Thanks in advance.

Upvotes: 0

Views: 164

Answers (1)

Agoose Banwatti
Agoose Banwatti

Reputation: 450

Try using CREATE USER [email protected] before you grant permissions.

Upvotes: 2

Related Questions