莆田哪里有网站开发,邯郸网站设计怎么开发,wordpress自动发外链,网站权重查询接口MySQL 基本概述
MySQL是一个流行的关系型数据库管理系统#xff08;RDBMS#xff09;#xff0c;广泛应用于各种业务场景。它是由瑞典MySQL AB公司开发#xff0c;后来被Sun Microsystems收购#xff0c;最终被甲骨文公司#xff08;Oracle Corporation#xff09;收购…MySQL 基本概述
MySQL是一个流行的关系型数据库管理系统RDBMS广泛应用于各种业务场景。它是由瑞典MySQL AB公司开发后来被Sun Microsystems收购最终被甲骨文公司Oracle Corporation收购。MySQL是一个开源项目具有强大的性能、易用性和可靠性成为许多大型和中型应用的首选数据库。 MySQL 数据库官方网站https://www.mysql.com/
Structure Query Language SQL 概述
Structure Query Language结构化查询语言简称 SQL它被美国国家标准局(ANSI)确定为关系型数据库语言的美国标准后被国际化标准组织(ISO)采纳为关系数据库语言的国际标准。数据库管理系统可以通过SQL管理数据库定义和操作数据维护数据的完整性和安全性。
Windows 安装 MySQL 数据库
MySQL 数据库安装地址https://dev.mysql.com/downloads/mysql/ 解压安装 ZIP 压缩包 添加环境变量我的电脑 属性 高级 编辑环境变量 选择 path 添加 MySQL 安装目录下 bin 文件夹地址 在 MySQL 安装目录下新建 my.ini 文件编辑注意替换路径位置
[mysqld]
basedirE:\Environment\mysql-8.2.0-winx64
datadirE:\Environment\mysql-8.2.0-winx64\data\
port3306安装 MySQL 数据库
mysqld -install初始化数据文件
C:\Users\Administratormysqld --initialize --console
2023-11-20T08:52:45.069588Z 0 [System] [MY-015017] [Server] MySQL Server Initialization - start.
2023-11-20T08:52:45.075998Z 0 [System] [MY-013169] [Server] E:\Environment\mysql-8.2.0-winx64\bin\mysqld.exe (mysqld 8.2.0) initializing of server in progress as process 18020
2023-11-20T08:52:45.093763Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-11-20T08:52:45.533791Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-11-20T08:52:47.356639Z 6 [Note] [MY-010454] [Server] A temporary password is generated for rootlocalhost: trjpF4mofnZ
2023-11-20T08:52:49.673254Z 0 [System] [MY-015018] [Server] MySQL Server Initialization - end.启动 MySQL 服务
net start mysql登陆 MySQL root 用户
C:\Users\Administratormysql -u root -p
Enter password: ************
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.2.0Copyright (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 密码指令
ALTER USER rootlocalhost IDENTIFIED WITH mysql_native_password BY 你的密码;