0

What is the use case for having different passwords for the same username but different hosts on mariadb/mysql?

Is there a way to synchronized the password for the same username for different hosts?

theking2
  • 179
  • 1
  • 1
  • 9

1 Answers1

1

Yes, just make 'user'@'%', except that it doesn't match 'localhost', so still have to make that one explicitly.

Halfgaar
  • 8,084
  • 6
  • 45
  • 86