重置MySQL root密码
先结束MySQL进程killall -TERM mysqld用以下命令启动MySQL,以不检查权限的方式启动mysqld_safe —skip-grant-tables &如果没有mysqld_safe,那直接使用mysqld —skip-grant-tables &然后用空密码方式使用root用户登录 MySQLmysql -u root修改root用户的密码mysql&g...
阅读全文
先结束MySQL进程killall -TERM mysqld用以下命令启动MySQL,以不检查权限的方式启动mysqld_safe —skip-grant-tables &如果没有mysqld_safe,那直接使用mysqld —skip-grant-tables &然后用空密码方式使用root用户登录 MySQLmysql -u root修改root用户的密码mysql&g...
阅读全文
通过SSH登录到Ubuntu时会提示更新提醒编辑/etc/pam.d/sshd找到下面两行session optional pam_motd.so motd=/run/motd.dynamic noupdate
session optional pam_motd.so # [1]前面加上#注释掉# session optional pam_motd...
阅读全文
运行PowerShell执行以下命令创建注册表项目\# Create keys in registry (not created by Windows out of the box)
md "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2"
md &qu...
阅读全文
安装服务D:\MySQL\bin\mysqld.exe --install MySQL(服务名) --defaults-file=C:\Windows\my.ini(配置文件路径)例如:D:\MySQL\bin\mysqld.exe --install MySQL --defaults-file=C:\Windows\my.ini卸载服务D:\MySQL\bin\mysqld.exe --r...
阅读全文
运行secpol.msc,打开本地安全策略本地策略-安全选项-网络安全:LAN 管理器身份验证级别,默认是没有定义的,把它改成“发送 LM 和 NTLM - 如果已协商,则使用 NTLMv2 会话安全”来源:http://blog.sina.com.cn/s/blog_48c5284901018u0h.html
阅读全文