当前位置: 首页 > news >正文

贵州网站推广营销网站模板

贵州网站推广,营销网站模板,做了5天游戏推广被抓了,内网进销存软件终身免费版方法一:通用方法--启动时跳过权限表 1> 停止数据库 以管理员方式打开cmd!! C:\Users\Administrator>net stop mysql MySQL 服务正在停止.. MySQL 服务已成功停止。 2> 启动时跳过权限表 mysqld --console --skip-grant-tables -…

方法一:通用方法--启动时跳过权限表

1> 停止数据库

以管理员方式打开cmd!!

C:\Users\Administrator>net stop mysql

MySQL 服务正在停止..

MySQL 服务已成功停止。

2> 启动时跳过权限表

mysqld --console --skip-grant-tables --shared-memory

C:\Users\Administrator>mysqld --console --skip-grant-tables --shared-memory

注意:不要关闭终端

3> 重开新的终端(再开一个终端),登录并设置新密码

PS C:\Users\Administrator> mysql -uroot -p

Enter password: 直接敲回车键

mysql> flush privileges;

mysql> alter user root@localhost identified by '123456'; //重置密码

4> 退出MySQL,关闭第一个终端,正常启动服务。

mysql> \q

PS C:\Users\Administrator> net start mysql

MySQL 服务正在启动 ..

MySQL 服务已经启动成功。

PS C:\Users\Administrator> mysql -uroot -p123456

mysql: [Warning] Using a password on the command line interface can be insecure.

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 8

Server version: 8.0.36 MySQL Community Server - GPL

Copyright (c) 2000, 2024, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> \q

Bye

方法二:参考官方文档

1> 停止服务

PS C:\Users\Administrator> net stop mysql

MySQL 服务正在停止.

MySQL 服务已成功停止。

2> 创建一个文本文件到mysql文件夹里,保存为 mysql_init.txt ,内容如下:

ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';

3> 启动同时使用上一步文件修改密码

要求管理员身份打开cmd来运行命令,暂时不要关闭终端:

C:\Users\Administrator>mysqld --init-file= F:\mysql\mysql-8.0.36-winx64\mysql_init.txt

(具体路径复制粘贴)

4> 打开另一个终端,登录测试

PS C:\Users\Administrator> mysql -uroot -p123456

mysql: [Warning] Using a password on the command line interface can be insecure.

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 9

Server version: 8.0.36 MySQL Community Server - GPL

Copyright (c) 2000, 2024, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> \q

Bye

5> 关闭第一个终端,正常启动服务。

C:\Users\Administrator>net start mysql

MySQL 服务正在启动 ..

MySQL 服务已经启动成功。

C:\Users\Administrator>mysql -uroot -p123456

mysql: [Warning] Using a password on the command line interface can be insecure.

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 8

Server version: 8.0.36 MySQL Community Server - GPL

Copyright (c) 2000, 2024, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> \q

Bye

6> 删除文件 mysql_init.txt

http://www.ritt.cn/news/12410.html

相关文章:

  • 微信公众号 手机网站网站收录排名
  • 动漫制作专业好吗沈阳高端关键词优化
  • 网站建设制作深圳百度指数大数据分享平台
  • 一个空间怎么做两个网站 跳转app推广文案
  • qq是哪个开发运营公司的网站seo重庆
  • b2b订货平台谷歌seo排名优化服务
  • 国内大型网站建设公司网络自动推广软件
  • 网站建设模范代码东莞网络营销渠道
  • 电商小程序平台优化内容
  • 橱柜衣柜做网站全网营销式网站
  • 网站建设模块北京seo外包平台
  • 如何在阿里网站做外单线下推广
  • 网站设计工作流程网站快速优化排名
  • 软件开发培训哪有seo黑帽培训骗局
  • 合肥网站建设sina怎么创建域名
  • 重庆网站制作公司重庆工程建设数字化管理平台
  • 手机网站底部代码邢台网站公司
  • 公司网站建设合同网络宣传的方法有哪些
  • 美国视频网站宽带费用营销型网站建设套餐
  • 房产中介 网站开发武汉seo工厂
  • wordpress支付宝微信收费吗seo网站优化推广费用
  • 可以做彩票广告的网站吗百度手机助手下载2022新版
  • cms网站搭建好了再怎么做网站服务器信息查询
  • 系统开发和网站开发青海seo技术培训
  • 顺德网站制作案例信息全网营销推广靠谱吗
  • 亚马逊网站建设评述百度官方网站登录
  • WordPress 聊天小工具青岛优化网站关键词
  • 沧州哪里做网站营销方法有哪些方式
  • 做房地产用什么网站好seo排名资源
  • bc网站怎么做支付网页设计制作网站素材