当前位置:网站首页>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
边栏推荐
- 解决方案架构师的小锦囊 - 架构图的 5 种类型
- freeCodeCamp----arithmetic_ Arranger exercise
- Postman reference summary
- Reading notes: Secure federated matrix factorization
- Elmo (bilstm-crf + Elmo) (conll-2003 named entity recognition NER)
- AtomicIntegerArray源码分析与感悟
- Troubleshooting of expdp export error when Oracle table has logical bad blocks
- 第十五章 软件工程新技术
- [code analysis (6)] communication efficient learning of deep networks from decentralized data
- Analysis of cluster component gpnp failed to start successfully in RAC environment
猜你喜欢
scikit-learn構建模型的萬能模板
crontab定时任务输出产生大量邮件耗尽文件系统inode问题处理
Business case | how to promote the activity of sports and health app users? It is enough to do these points well
Technologie zéro copie
SQL learning | complex query
商家案例 | 运动健康APP用户促活怎么做?做好这几点足矣
服务器中挖矿病毒了,屮
JUC interview questions about synchronized, ThreadLocal, thread pool and atomic atomic classes
Small case of web login (including verification code login)
Oracle alarm log alert Chinese trace and trace files
随机推荐
UNIX final exam summary -- for direct Department
ACFs file system creation, expansion, reduction and other configuration steps
JMeter pressure test tool
RAC environment alert log error drop transient type: systp2jw0acnaurdgu1sbqmbryw = = troubleshooting
淘宝发布宝贝提示“您的消保保证金额度不足,已启动到期保障”
Express middleware ③ (custom Middleware)
JS 力扣刷题 102. 二叉树的层序遍历
Move blog to CSDN
SQL learning | complex query
解决方案架构师的小锦囊 - 架构图的 5 种类型
try --finally
Quartus Prime硬件实验开发(DE2-115板)实验一CPU指令运算器设计
AtomicIntegerArray源码分析与感悟
【报名】TF54:工程师成长地图与卓越研发组织打造
Express②(路由)
How does redis solve the problems of cache avalanche, cache breakdown and cache penetration
Android interview theme collection
Express ② (routage)
JS brain burning interview question reward
19c environment ora-01035 login error handling