mysql相关
密码重置:
进入mysql命令端
mysql> use mysql;
mysql> update user set password=password(“你的新密码”) where user=“root”;
/5.7版本 update mysql.user set authentication_string=password(‘root’) where user=‘root’
mysql> flush privileges;
mysql> quit
远程登录权限授予
GRANT ALL PRIVILEGES ON . TO root@"%" IDENTIFIED BY “密码”;