当前位置:网站首页>mysql8安装
mysql8安装
2022-04-23 12:53:00 【夏天的雨鱼】
mysql8安装
my.ini
[mysqld]
# 设置3306端口
port=3306
# 设置mysql的安装目录
basedir=D:\database\mysql-8.0.28-winx64
# 设置mysql数据库的数据的存放目录
datadir=D:\database\mysql-8.0.28-winx64\Data
# 允许最大连接数
max_connections=2000
# 允许连接失败的次数。
max_connect_errors=10
# 服务端使用的字符集默认为utf8mb4
character-set-server=utf8mb4
# 创建新表时将使用的默认存储引擎
default-storage-engine=INNODB
# 默认使用“mysql_native_password”插件认证
#mysql_native_password
default_authentication_plugin=mysql_native_password
sql_mode=STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION
[mysql]
# 设置mysql客户端默认字符集
default-character-set=utf8mb4
[client]
# 设置mysql客户端连接服务端时默认使用的端口
port=3306
default-character-set=utf8mb4
安装命令
mysqld --initialize --console
mysqld --install
截图
版权声明
本文为[夏天的雨鱼]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_50279139/article/details/124273869
边栏推荐
- World Book Day: I'd like to recommend these books
- 将新增和编辑的数据同步更新到列表
- A graphic designer's fantasy world | ones characters
- Everything can be expected in the future | one 2022 campus recruitment officially opened
- MySQL function - recursive function
- STM32工程移植:不同型号芯片工程之间的移植:ZE到C8
- BUUCTF WEB [BJDCTF2020]ZJCTF,不过如此
- 大家帮我看一下这是啥情况,MySQL5.5的。谢了
- Stm32cubeprogrammer basic instructions
- XinChaCha Trust SSL Organization Validated
猜你喜欢
Please help me see what this is, mysql5 5. Thanks
Everything can be expected in the future | one 2022 campus recruitment officially opened
World Book Day: I'd like to recommend these books
Synchronously update the newly added and edited data to the list
梳理网络IP代理的几大用途
SSM框架系列——注解开发day2-2
Object. The disorder of key value array after keys
Softbank vision fund entered the Web3 security industry and led a new round of investment of US $60 million in certik
软件测试周刊(第68期):解决棘手问题的最上乘方法是:静观其变,顺水推舟。
梳理網絡IP代理的幾大用途
随机推荐
NPDP|产品经理如何做到不会被程序员排斥?
leetcode-791. 自定义字符串排序
BUUCTF WEB [BJDCTF2020]ZJCTF,不过如此
Servlet监听器&过滤器介绍
Kubernetes 入門教程
ZigBee CC2530 minimum system and register configuration (1)
XinChaCha Trust SSL Organization Validated
How do traditional enterprises cope with digital transformation? These books give you the answer
4.DRF 权限&访问频率&过滤&排序
leetcode:437. 路径总和 III【dfs 选还是不选?】
Number of nodes of complete binary tree
洛谷P3236 [HNOI2014]画框 题解
uni-app 原生APP-云打包集成极光推送(JG-JPUSH)详细教程
98. Error s.e.errormvcautoconfiguration $staticview reported by freemaker framework: cannot render error page for request
21 天学习MongoDB笔记
31. 下一个排列
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
Dialogue with Bruce, author of PostgreSQL: "changing careers" is to better move forward
22. 括号生成
BUUCTF WEB [BUUCTF 2018]Online Tool