操作系统errno 13-权限被拒绝的MySQL服务器

时间:2018-12-10 23:27:36

标签: mysql sql mysql-workbench

我在MySQL工作台上遇到问题-我似乎无法启动服务器。在命令行中,我导航到:

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

然后运行mysqld --initialize

我收到以下错误:

    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.

谁能告诉我如何解决此问题?我已经检查了MySQL Server 8.0文件夹的权限,并将所有权限设置为“允许”。

0 个答案:

没有答案