- 工信部备案号 滇ICP备05000110号-1
- 滇公安备案 滇53010302000111
- 增值电信业务经营许可证 B1.B2-20181647、滇B1.B2-20190004
- 云南互联网协会理事单位
- 安全联盟认证网站身份V标记
- 域名注册服务机构许可:滇D3-20230001
- 代理域名注册服务机构:新网数码
在linux下:
如果 MySQL 正在运行,首先杀之: killall -TERM mysqld。
启动 MySQL :bin/safe_mysqld –skip-grant-tables &
就可以不需要密码就进入 MySQL 了。
然后就是代码:
>use mysql
>update user set password=password(“new_pass”) where user=”root”;
>flush privileges
>use mysql >update user set password=password(“new_pass”) where user=”root”; >flush privileges;
重新杀 MySQL ,用正常方法启动 MySQL 。
售前咨询
售后咨询
备案咨询
二维码
TOP