user(),current_user()函数的区别

user()

表示当前的登录用户
 
current_user()
表示对应于mysql.user表里对应的账号。
原文地址:https://www.cnblogs.com/liang545621/p/7518420.html