mysql 5.7数据库体积达到32G,磁盘空间不足,需要迁移,迁移后出现:
2018-09-05T03:17:41.016760Z 0 [ERROR] InnoDB: The error means mysqld does not have the access rights to the directory. It may also be you have created a subdirectory of the same name as a data file.
百搜不得其解,忽然想到mysql服务启动貌似使用的是net service账号,
因此,将新迁移数据文件的目录增加net service用户的读写权限,即可解决问题。
转载于:https://www.cnblogs.com/yijun3/p/9591628.html
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)