Log summary comparison of the relationship between users and permissions, server roles, database roles

  • Server login name, refers to the user has permission to log on to a server;
  • Login name must belong to certain roles, the default is public
  • Server roles, refers to a fixed set of server users
  • Server role does not allow changes
  • Not necessarily have permission to operate after logging database
  • Database user, means that the user has permission to be able to operate the database
  • Database user login name corresponding to the server so that registrants can work with databases
  • Database role, refers to a set of fixed database role has certain privileges
  • Database role can add, different permissions can be customized
  • After the server requires a login name to the database user has permission to operate the database mapping
  • Database user belongs to a group database role for permission to operate the database
Published 143 original articles · won praise 11 · views 8200

Guess you like

Origin blog.csdn.net/weixin_43701790/article/details/103602154