Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Writing configuration file failed" in MySQL Server 8.0.15

Tags:

mysql

While set up the configuration in MySQL Server 8.0.15

Got an error

"Beginning configuration step: Writing configuration file

Invalid server template

Ended configuration step: Writing configuration file"

like image 947
Sabi Avatar asked Mar 14 '19 21:03

Sabi


3 Answers

Not trying to bring up anything old. How I fixed the problem was to uninstall the installer completely. You can do this by removing everything(in the list of installed items), and it'll prompt you to remove the installer. Then you can reinstall; when you reinstall it'll first ask to "update" the installer or something similar. Click Yes. Afterward, you can install it like normal.

  1. Uninstall all MySQL items, including the installer
  2. Reinstall the launcher, but click yes on updates
  3. Should work
like image 92
Junny Avatar answered Oct 16 '22 20:10

Junny


I got the same problem today after re-installing windows 10 and then trying to install everything I needed for work.

What helped for me was accepting the (weirdly formulated) 'update installer' prompt with 'yes'. This prompt appeared right after opening/running the installer. The first time I ignored it with 'no' because I was under the impression that downloading an installer would get me the newest version. Then I got this error. Even after retrying three times (also after uninstalling). When I tried installing again and accepted the 'update installer' prompt the problem was gone.

like image 26
Maladignia Avatar answered Oct 16 '22 19:10

Maladignia


Accepting to update installer in the beginning worked for me when installing mysql-installer-web-community-8.0.15.0.msi

like image 2
justdooit Avatar answered Oct 16 '22 19:10

justdooit