OS errno 13 - Permission Denied MySQL Server

自闭症网瘾萝莉.ら 提交于 2019-12-24 12:08:28

问题


I'm having issues with MySQL workbench - I can't seem to start the server. In the command line, I navigate to:

C:\Program Files\MySQL\MySQL Server 8.0\bin\

And then run mysqld --initialize

I get the following error:

    mysqld: Can't create directory 'C:\Program Files\MySQL\MySQL Server 8.0\data\' (OS errno 13 - Permission denied)
2018-12-10T23:18:55.211840Z 0 [System] [MY-013169] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.11) initializing of server in progress as process 36568
2018-12-10T23:18:55.227851Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-12-10T23:18:55.230796Z 0 [System] [MY-010910] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.11)  MySQL Community Server - GPL.

Can anyone tell me how to fix this issue? I already checked the permissions on the MySQL Server 8.0 folder, and have set all the permissions to Allow.

来源:https://stackoverflow.com/questions/53715233/os-errno-13-permission-denied-mysql-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!