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

自己做seo网站推广制作html购物网站源代码

自己做seo网站推广,制作html购物网站源代码,wordpress 装饰插件,宿松网站建设设计方法一:通用方法--启动时跳过权限表 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.yayakq.cn/news/746500/

相关文章:

  • 网站icp备案信息是什么意思如何解决网站图片打开慢
  • 十堰专业网站建设公司云梦网站开发
  • 厦门做网站维护的公司贵阳好的网站建设
  • 做付费网站好新媒体运营培训学校
  • 文山文山市网站建设漳州正规网站建设价格
  • 福建漳州网站建设哪家便宜购物网站开发的管理可行性
  • 如何网站建设公司wordpress快速制作app
  • 珠海图远建设公司网站多个网站备案
  • 电商网站开发广东大唐建设网站
  • 连江厦门网站建设公司桥西区建设局网站
  • 支付网站搭建华为网站建设费用
  • 网站开发的实例教程佛山网站专家
  • 专用车网站建设价格dw怎么做网站教程
  • 网站开发用了哪些知识要点信誉好的广州做网站
  • 公司网站开发毕业设计wordpress 修改页面内容
  • 有了域名和主机怎么做网站地信的网站建设
  • 企业手机网站建设有网站网站合作建设
  • 全国建筑网站wap网站欣赏
  • 做零食网站怎么样健康中国app
  • 如何选择常州网站建设长沙房地产信息网官网
  • 吉林省网站建设公司网站建设大量定制阶段
  • 开传奇怎么建设自己的网站wordpress生成的网页
  • 做网站的毕设用什么软件百度经验手机版
  • 霞浦建站公司什么叫网站app
  • 服务器怎么设置ip做网站中国建行网银登录
  • 阜新市建设学校官方网站成都百度公司怎么样
  • 《电子商务网站开发与管理》查询网站外链
  • 宁波大型网站建设网站开发工具的选择
  • 解析软件的网站淘宝标题优化工具推荐
  • 湘潭网站建设设计关于网站开发的论文