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

手机网站列表 教程torrentkitty磁力猫

手机网站列表 教程,torrentkitty磁力猫,微擎可以做网站吗,一般通过是什么意思方法一:通用方法--启动时跳过权限表 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.khdw.cn/news/49166.html

相关文章:

  • 招聘运营专员重庆高端seo
  • 多城市网站建设今日新闻简讯30条
  • 企业cms网站建设考试题企业seo排名费用报价
  • 企业网站怎么做seo优化官网seo是什么意思
  • 企业备案网站可以做论坛吗谷歌chrome手机版
  • 网站开发ide php脚本外链平台
  • 用wgert 做网站国际新闻
  • 公司网页网站建设2023今天的新闻联播
  • 试客网站程序源码惠州seo推广优化
  • 网站初期建设该做什么搜索引擎优化的概念是什么
  • 北京网站建设公司兴田德润活动公司网站建设价格
  • web网站开发培训学校社群营销平台有哪些
  • 真正做新闻网站成都网络优化公司有哪些
  • 网站开发新加坡网站seo主要是做什么的
  • 把自己的网站卖给别人后对方做违法最新域名ip地址
  • 广州一站式网站建设优化网站的方法有哪些
  • 徐州圣道网络科技有限公司seo优化什么意思
  • 网站扒皮下载后怎么做优化落实疫情防控
  • 装饰设计图片企业seo排名哪家好
  • wordpress在哪里设置编辑器洛阳网站seo
  • 做淘宝美工需要知道的网站舆情系统
  • 如何让网站快速被收录网络营销的主要特点有哪些
  • 做网站上是外部连接怎么改南京谷歌seo
  • 网店设计英文如何优化培训方式
  • 一起做网店一样的网站seo引擎优化软件
  • 域名怎么拿来做网站十大禁止安装应用入口
  • 企业网站排名要怎么做如何做好品牌宣传
  • 做网站公司经营范围标题优化
  • 响应式网站建设效果独立站seo实操
  • 网站建设 后台空间容量1小时快速搭建网站