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

user()

表示当前的登录用户
 
current_user()
表示对应于mysql.user表里对应的账号。
posted @ 2017-09-13 23:48  屠魔的少年  阅读(824)  评论(0)    收藏  举报