当前位置:网站首页>安装Mysql报错:Could not create or access the registry key needed for the...
安装Mysql报错:Could not create or access the registry key needed for the...
2022-07-06 11:17:00 【Ham235XueBi】
在cmd中执行mysqld --initialize -insecure --user=mysql语句报错
解决办法:进入路径C:\Window\System32,找到cmd.exe,用管理员模式运行。
my.ini文件:
[mysql]
#设置mysql客户端默认字符集
default-character-set=utf8
[mysqld]
#设置3306端口
port = 3306
#设置mysql的安装目录
basedir=F:\mysql\mysql-5.7.24-winx64\mysql-5.7.24-winx64
#设置mysql数据库的数据的存放目录
datadir=F:\mysql\mysql-5.7.24-winx64\mysql-5.7.24-winx64\data
#允许最大连接数
max_connections=200
#服务端使用的字符集默认为8比特编码的latin1字符集
character-set-server=utf8
创建新表时将使用的默认存储引擎
default-storage-engine=INNODB
边栏推荐
- How are you in the first half of the year occupied by the epidemic| Mid 2022 summary
- test about BinaryTree
- Abstract classes and abstract methods
- R language uses the order function to sort the dataframe data, and descending sorting based on a single field (variable)
- AutoCAD - what is the default lineweight for centerline drawing and CAD? Can I modify it?
- Pychrm Community Edition calls matplotlib pyplot. Solution of imshow() function image not popping up
- 业务与应用同步发展:应用现代化的策略建议
- 如何提高网站权重
- Breadth first traversal of graph
- 应用使用Druid连接池经常性断链问题分析
猜你喜欢
How are you in the first half of the year occupied by the epidemic| Mid 2022 summary
Hongke shares | plate by plate ar application in Beijing Winter Olympics
From 2022 to 2024, the list of cifar azrieli global scholars was announced, and 18 young scholars joined 6 research projects
Mathematics in machine learning -- common probability distribution (XIII): Logistic Distribution
Binary search tree
This article discusses the memory layout of objects in the JVM, as well as the principle and application of memory alignment and compression pointer
SQL injection - access injection, access offset injection
There is a sound prompt when inserting a USB flash disk under win10 system, but the drive letter is not displayed
Describe the process of key exchange
美庐生物IPO被终止:年营收3.85亿 陈林为实控人
随机推荐
R language uses the order function to sort the dataframe data, and descending sorting based on a single field (variable)
ModuleNotFoundError: No module named ‘PIL‘解决方法
On AAE
Digital "new" operation and maintenance of energy industry
[depth first search] Ji suanke: a joke of replacement
How to improve website weight
Test 1234
Three years of Android development, Android interview experience and real questions sorting of eight major manufacturers during the 2022 epidemic
Oracle advanced (IV) table connection explanation
基于蝴蝶种类识别
R语言使用dt函数生成t分布密度函数数据、使用plot函数可视化t分布密度函数数据(t Distribution)
第五期个人能力认证考核通过名单公布
AIRIOT物联网平台赋能集装箱行业构建【焊接工位信息监控系统】
Deep circulation network long-term blood pressure prediction [translation]
五金机电行业智能供应链管理系统解决方案:数智化供应链为传统产业“造新血”
AvL树的实现
Stm32+esp8266+mqtt protocol connects onenet IOT platform
使用map函数、split函数一行键入多个元素
pytorch常见损失函数
This article discusses the memory layout of objects in the JVM, as well as the principle and application of memory alignment and compression pointer