为什么.mysql_history文件里没有SET password for root@localhost=……

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
gtiubvrd
帖子: 62
注册时间: 2011-07-29 19:16

为什么.mysql_history文件里没有SET password for root@localhost=……

#1

帖子 gtiubvrd » 2017-02-08 17:30

为什么.mysql_history文件里没有SET password for root@localhost=PASSWORD('3ya0EiMFc2MH2v');这条语句?
我明明执行了,怎么没有记录下来?除了.mysql_history,还能从哪里能看到这条?
头像
astolia
论坛版主
帖子: 6396
注册时间: 2008-09-18 13:11

Re: 为什么.mysql_history文件里没有SET password for root@localhost=……

#2

帖子 astolia » 2017-02-08 20:03

你从来不读官方文档的么?
https://dev.mysql.com/doc/refman/5.7/en ... gging.html
中间已经把原因说的很清楚了
头像
maplebeats
帖子: 378
注册时间: 2011-02-16 1:17

Re: 为什么.mysql_history文件里没有SET password for root@localhost=……

#3

帖子 maplebeats » 2017-02-08 22:11

好了,我知道你的密码了 :Grimace
My blog : OOXX
回复