MySQL Forums
Forum List  »  Newbie

Re: multiple host not work
Posted by: Barry Galbraith
Date: November 16, 2017 02:37PM

123.123.123.123 isn't the /24 boundary.
You could try
 
Grant all on *.* to 'user1'@'123.123.123.0/255.255.255.0' identified by "password";

to specify all hosts in 123.123.123.0/24 network
You also need to enclose the username and network in quotes.
See the refman https://dev.mysql.com/doc/refman/5.7/en/account-names.html

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
November 16, 2017 08:38AM
November 16, 2017 08:45AM
Re: multiple host not work
November 16, 2017 02:37PM
November 16, 2017 09:23PM
November 16, 2017 09:33PM
November 16, 2017 10:16PM
November 16, 2017 10:41PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.