当前位置:网站首页>MySQL 5.7.37数据库下载安装教程(Windows无需安装版)
MySQL 5.7.37数据库下载安装教程(Windows无需安装版)
2022-07-16 19:12:00 【InfoQ】
1.MySQL下载






2.MySQL安装

my.ini



basedirdatadir\datamy.ini[mysql]
# 设置mysql客户端默认字符集
default-character-set=utf8
[mysqld]
# 设置3306端口
port = 3306
# 设置mysql的安装目录
basedir=D:\Program Files\mysql-5.7.37-winx64
# 设置mysql数据库的数据的存放目录
datadir=D:\Program Files\mysql-5.7.37-winx64\data
# 允许最大连接数
max_connections=200
# 服务端使用的字符集默认为8比特编码的latin1字符集
character-set-server=utf8
# 创建新表时将使用的默认存储引擎
default-storage-engine=INNODB

binD:\Program Files\mysql-5.7.37-winx64
binD:\Program Files\mysql-5.7.37-winx64\bin

mysqld --install
bin



bin
mysqld --initializenet start mysql
data
dataerr

mysql -u root -p
You must reset your password using ALTER USER statement before executing this statement.


exit; --退出服务
net start mysql; --重启mysql
net stop mysql; --停止mysql
set password for 用户名@localhost = password('新密码'); --修改密码
--例如:set password for [email protected] = password('123');
边栏推荐
- 低代码平台搭建学生事务一门式管理系统解决方案
- Win11老是弹出输入体验怎么办
- [PHP code audit] Introduction analysis of vulnerabilities in Pikachu shooting range
- 浅学js中的关系运算符
- Huawei and glory mobile phones cannot cooperate with matebook on multiple screens after upgrading the Hongmeng system
- 镍氢电池的特性和使用方法(FDK镍氢电池充电机制)
- 星巴克、可口可乐、苹果这些顶级企业是如何进行品牌营销
- One person builds the digital system solution of the whole group with a low code development platform
- What are the directions of voice signal processing in audio and video?
- 专属资源池使用最佳实践-Notebook与训练任务联动
猜你喜欢

低代码开发搭建业务流程管理解决方案

Caractéristiques et mode d'utilisation de la batterie ni MH (mécanisme de charge de la batterie ni MH FDK)

Installing MySQL database on Linux server (detailed tutorial)

Phabricator Conduit API介绍

How to open 3D viewer in win11

LETV has become the king of anti involution: employees have lived a fairy life without 996!

Localstorage, sessionstorage string or number considerations

Duplicate disk: how does the backpropagation process of pooling layer, average pooling and maximum pooling backpropagate

【PHP代码审计】Pikachu靶场漏洞入门分析

MySQL - multi table query - relationship between tables
随机推荐
阿普奇 E7系列 工控机——MinipiceCAN卡在送餐机器人中的应用
居家期间撸了一款小而美的【Markdown静态博客程序】
Application of Apache abox-700 industrial computer minipicecan card in electric power inspection robot
乐视成了反内卷之王:员工过上了没有996的神仙日子!
How to open 3D viewer in win11
How to deal with the security risks of the third party in the supply chain
专属资源池使用最佳实践-Notebook与训练任务联动
Simple and efficient code suggestions
SQL notes
6G synaesthesia integrated networking integration technology
1302_FreeRTOS中CoRoutine设计实现分析
淺學js中的關系運算符
Research on Intelligent Monitoring Technology in cyberspace defense
Cann experience officer's fifth experience documentary (Part 1)
如何制作选中项的下划线样式
基于STM32+华为云IOT设计的物联网鱼缸【玩转华为云】
On learning relational operators in JS
通感一体化系统的下行功率分配技术
Leetcode high frequency question: three unordered arrays a, B, C with length N, find the total number of combinations of (I, J, K) with a[i] + b[j] + c[k] = 64
将一个文件夹中的内容复制到另一个文件夹中