MySQL Server 5.7 安装在“Writing configuration file”失败
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/29866381/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
MySQL Server 5.7 installation fails at "Writing configuration file"
提问by user4612290
I'm trying to install MySQL Server 5.7.7 on Windows Server 2008 machine. It has failed several times and I tried uninstalling the whole thing and try the installation again. I tried installing one component at a time and it worked for all the components (Workbench, connectors,..etc.) except for the MySQL Server itself.
我正在尝试在 Windows Server 2008 机器上安装 MySQL Server 5.7.7。它失败了几次,我尝试卸载整个东西并再次尝试安装。我尝试一次安装一个组件,它适用于除 MySQL 服务器本身之外的所有组件(工作台、连接器等)。
I'm receiving error at the step "Writing configuration file", the log shows the error details below:
我在“写入配置文件”步骤收到错误,日志显示以下错误详细信息:
Beginning configuration step: Writing configuration file
Could not find a part of the path 'C:\ProgramData\MySQL\MySQL Server 5.7\my.ini'.
Ended configuration step: Writing configuration file
回答by Dili
i had the same problem. to solve it, i simply created the "MySQL Server 5.7" folder in "C:\ProgramData\MySQL" then clicked Retry in the installer
我有同样的问题。为了解决这个问题,我只是在“C:\ProgramData\MySQL”中创建了“MySQL Server 5.7”文件夹,然后在安装程序中单击“重试”
i've had bad experiences with MySQL installers in the past. really surprised it's not smart enough (or too lazy?) to create the sub folders before trying to write the ini file.
我过去在 MySQL 安装程序上有过糟糕的经历。真的很惊讶在尝试编写 ini 文件之前创建子文件夹不够聪明(或太懒?)。
hope that helps!
希望有帮助!