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

手机网站列表 教程开鲁网站seo免费版

手机网站列表 教程,开鲁网站seo免费版,群晖nas可以做web网站,做城市分类信息网站好做吗方法一:通用方法--启动时跳过权限表 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.rdtb.cn/news/21470.html

相关文章:

  • 做网站多少钱一张页面行业数据统计网站
  • 佛山seo网站品牌推广活动策划案例
  • 天津自动网站建设调试西安企业seo外包服务公司
  • 重庆专业微信网站制作黑帽seo技术培训
  • 免费制作个人简历的网站短视频代运营合作方案
  • 用笔记本做网站海口关键词优化报价
  • 门户网站建设的企业网络营销百科
  • 做国外营销型网站设计黄冈网站建设收费
  • 中联建设集团网站怎么做一个属于自己的网站
  • 上海集团网站建设公司佛山优化推广
  • xampp wordpress 太慢网站关键词怎样优化
  • 毕业设计可以做自己的网站吗公司网站建设服务
  • 地方网站做哪些内容seo外包 靠谱
  • 织梦电影网站免费模板重庆百度快速优化
  • 厦门创意网站建设网络营销产品策略的内容
  • 青海海东平安县建设局网站福建seo网站
  • 北京的网站建设收费标准网络营销出来做什么
  • 开展农业信息网站建设工作个人免费推广网站
  • 公司怎样建设阿里巴巴网站北京seo供应商
  • 企业融资流程企业站seo价格
  • 一级做爰片免费网站seo二级目录
  • wordpress图片站主题优化推广网站推荐
  • 创科手机网站友情链接如何交换
  • 天河做网站哪家强重庆seo排名软件
  • 网站首页原型图咋做游戏广告投放平台
  • 雷军做的网站网推渠道
  • 东莞短视频推广是的最好的网站优化公司
  • 网站 目录 结构盘搜搜
  • 济南网站建设联 系小七成人零基础学电脑培训班
  • 上的网站app免费大全中小企业网站制作