当使用single-transaction时只需select权限,否则添加lock table权限 如有view trigger等另添加权限 转载于:https://www.cnblogs.com/infaaf/p/10535301.html