当前位置:网站首页>MySQL 修改主数据库
MySQL 修改主数据库
2022-04-23 13:59:00 【流苏1990】
原文转载至:mysql 修改数据库data存放位置 - Y档案Y - 博客园
更改后,服务重启不成功解决如下:
1、修改文件夹权限,增加Network Service用户至文件夹权限中,并设置为全部权限
2、控制面板-管理工具-计算机管理-本地用户与组
2.1、Administrators组中增加Network Service
3、如果以上不行,则配置文件my.ini 文件需要保存成ANSI格式的文件
原文:MySQL数据库的文件更换目录后启动异常 - 数据派 - 博客园
确保配置文件的编码是ANSI
可以使用notepad等其他编译工具,查看编码,非ANSI编码格式的配置文件在Windows中MySQL无法读取,也可以直接新建一个ANSI的配置文件,将原来的内容复制进去替换即可。
总结:
Windows的权限控制和编码格式比较复杂,不像linux那么直观,在操作Windows文件时需要额外注意这些权限和编码变更的提示。修改配置文件尽量使用功能更完善的编译工具,不要直接用记事本去修改。
4、关于MySQL 批量插入数据的问题汇总:
版权声明
本文为[流苏1990]所创,转载请带上原文链接,感谢
https://blog.csdn.net/fuweiping/article/details/120732745
边栏推荐
- Scientists say Australian plan to cull up to 10,000 wild horses doesn’t go far enough
- 服务器中挖矿病毒了,屮
- OSS cloud storage management practice (polite experience)
- 程序编译调试学习记录
- JMeter pressure test tool
- Choreographer全解析
- Technologie zéro copie
- [code analysis (3)] communication efficient learning of deep networks from decentralized data
- Reading notes: meta matrix factorization for federated rating predictions
- MySQL [SQL performance analysis + SQL tuning]
猜你喜欢
Dynamic subset division problem
JS brain burning interview question reward
Reading notes: meta matrix factorization for federated rating predictions
趣谈网络协议
MySQL [acid + isolation level + redo log + undo log]
JUC interview questions about synchronized, ThreadLocal, thread pool and atomic atomic classes
Express中间件③(自定义中间件)
JMeter pressure test tool
Express ② (routing)
scikit-learn构建模型的万能模板
随机推荐
leetcode--380.O(1) 时间插入、删除和获取随机元素
Force deduction brush question 101 Symmetric binary tree
剑南春把文字游戏玩明白了
商家案例 | 运动健康APP用户促活怎么做?做好这几点足矣
freeCodeCamp----arithmetic_ Arranger exercise
Spark入门基本操作
Es introduction learning notes
第十五章 软件工程新技术
Analysis of the problem that the cluster component GIPC in RAC environment cannot correctly identify the heartbeat network state
RAC environment error reporting ora-00239: timeout waiting for control file enqueue troubleshooting
快捷键(多行)
初探 Lambda Powertools TypeScript
Function executes only the once function for the first time
SQL learning window function
Ora-16047 of a DG environment: dgid mismatch between destination setting and target database troubleshooting and listening vncr features
Small case of web login (including verification code login)
JS brain burning interview question reward
初识go语言
JUC interview questions about synchronized, ThreadLocal, thread pool and atomic atomic classes
Using Baidu Intelligent Cloud face detection interface to achieve photo quality detection