Skip to main content
Question

How to change the authentication's host?

  • September 1, 2021
  • 1 reply
  • 3 views

HyeontaeJu
Forum|alt.badge.img+2

I try to change host of authentication becase server's host is changed..

I used below query but error message is occured

How can i change the authentication's host?

1 reply

Jim_Knicely
Forum|alt.badge.img+2
  • Participating Frequently
  • September 1, 2021

Remove the SET keyword from your command.

Example:

verticademos=> CREATE AUTHENTICATION jim METHOD 'hash' HOST '10.10.10.0';
CREATE AUTHENTICATION

verticademos=> ALTER AUTHENTICATION jim HOST '10.10.10.0/32';
ALTER AUTHENTICATION

See: ALTER AUTHENTICATION