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

好的办公室设计营销网站seo推广

好的办公室设计,营销网站seo推广,源码网站跟自己做的网站区别,企业网站备案MySQL安装 1.下载网址2.下载方式3.配置配置环境变量修改配置文件初始化安装服务启动服务测试修改 Mysql 默认密码 1.下载网址 https://dev.mysql.com/downloads/mysql/2.下载方式 选择对应版本下载 mysql-xxx-winx64.zip,该压缩包为编译后文件,并非源码…

MySQL安装

  • 1.下载网址
  • 2.下载方式
  • 3.配置
    • 配置环境变量
    • 修改配置文件
    • 初始化
    • 安装服务
    • 启动服务
    • 测试
    • 修改 Mysql 默认密码

1.下载网址

https://dev.mysql.com/downloads/mysql/

2.下载方式

选择对应版本下载 mysql-xxx-winx64.zip,该压缩包为编译后文件,并非源码, 可以直接运行。

3.配置

配置环境变量

为方便 Mysql 服务的使用和管理,可以在 PATH 中加入 Mysql 的 bin 目录。

修改配置文件

Mysql 配置默认读取自安装目录下 my.ini,如没有需要创建一个,Mysql 默认有一套配置,如端口默认为 3306 等,my.ini 并非必须,只需要在其中写明需要的配置即可,如下:

[mysqld]lower_case_table_names=2

注意:此处 lower_case_table_names 有三种取值:
0:表示表名区分大小写。
1:表示将表名转换为小写,但在比较时仍然区分大小写。
2:表示将表名转换为小写,并且在比较时也不区分大小写。

初始化

初始化 Mysql 需要管理员权限,需要管理员权限运行 Powershell 或 CMD。执行mysqld --initialize --console既可初始化并在控制台显示密码。

服务初始化过程如下:

PS D:\Element\mysql-8.0.35> ./bin/mysqld --initialize  --console
2024-01-04T07:08:20.705336Z 0 [System] [MY-013169] [Server] D:\Element\mysql-8.0.35\bin\mysqld.exe (mysqld 8.0.35) initializing of server in progress as process 3008
2024-01-04T07:08:20.730739Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-01-04T07:08:21.033652Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-01-04T07:08:22.291288Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: /YlA-/3M_yny

初始化完成后,会在 Mysql 安装目录生成一个 data 目录,即为 Mysql 数据存储目录。初始化日志最后一行显示的即为初始化的随机密码,权限为 root@localhost。

安装服务

运行mysqld install即可在 Windows 系统中安装 Mysql 服务。

PS D:\Element\mysql-8.0.35> .\bin\mysqld install
Service successfully installed.

启动服务

可以使用 net start mysql 命令启动 Mysql 服务,如出现如下内容,即为启动成功:

PS C:\Users\mufeng> net start mysql
MySQL 服务正在启动 .
MySQL 服务已经启动成功。

测试

服务启动之后,即可连接 Mysql:

PS C:\Users\mufeng> mysql -uroot -p
Enter password: ************
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 8.0.35Copyright (c) 2000, 2023, 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>

修改 Mysql 默认密码

Mysql 权限管理是基于 域 + 用户 + 权限 的方式,本地对安全性要求不高,此处修改 root 用户随处可以登录。
如下:

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
Query OK, 0 rows affected (0.01 sec)
mysql> use mysql;
Database changed
mysql> update user set host = '%' where host = 'localhost' and user = '123456';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0

测试:

PS C:\Users\mufeng> 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 10
Server version: 8.0.35 MySQL Community Server - GPLCopyright (c) 2000, 2023, 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>

登录成功!至此,Mysql For Windows 安装完成。

http://www.shuangfujiaoyu.com/news/50967.html

相关文章:

  • 用手机做网站服务器百度关键词查询排名怎么查
  • access建网站传媒公司
  • 现在企业做网站一般用什么框架网站seo优化报告
  • wwwccbcom中国建设银行网站推广网站有效的方法
  • 做兼职那个网站靠谱吗万网官网入口
  • 做动漫网站需要服务器么营销软件网站
  • 简单的网站设计案例关键词上首页的有效方法
  • 茂名建设中专学校网站武汉网站运营专业乐云seo
  • 白云区建网站设计营销型网站建设的价格
  • 做网站要通过网信办备案吗搜索引擎网站排名
  • 做网站和推广硝酸银试剂盒网络营销渠道建设方案
  • 网站介绍经过下拉怎么做南昌seo管理
  • 长鳖春遇网站开发广州seo网站推广平台
  • web网站建设方案整合营销方案怎么写
  • 简洁轻便的wordpress主题seo优化中商品权重主要由什么决定
  • 广州建设网站的公司网站优化查询代码
  • 保定聊城网站建设sem优化师
  • 自己电脑做网站空间石家庄seo关键词
  • 自己建网站做那个模块好杭州网站建设技术支持
  • wordpress 加链接地址青岛百度推广优化
  • 一起买买买网站建设大数据统计网站
  • 东莞建设监督网站芜湖seo
  • 商丘网络推广短视频优化
  • 网站建设项目登记表app开发费用一览表
  • 惠州建设厅网站有哪些可以免费推广的平台
  • 成都移动网站建设知乎推广
  • 做网站程序先从哪一步开始外链群发软件
  • 视频网站做app还是h5做百度推广效果怎么样
  • 挣钱最快的小游戏seo营销服务
  • 网站建设项目软件开发招标文件seo网站优化推广教程