I was installing mysql server for a course, and I can’t install it, please help.
Beginning configuration step: Initializing database (may take a long time)
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.31...
Starting process with command: C:Program FilesMySQLMySQL Server 8.0binmysqld.exe --defaults-file="C:ProgramDataMySQLMySQL Server 8.0my.ini
- ---
- " --console --initialize-insecure=on --lower-case-table-names=1...
Using jemalloc.dll for my_malloc and ut::malloc etc.
C:Program FilesMySQLMySQL Server 8.0binmysqld.exe: Empty value for 'open_files_limit' specified.
Process for mysqld, with ID 7496, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.31.
Database initialization failed.
Ended configuration step: Initializing database (may take a long time)**
2
Answers
I’ve had the same problem, in my case I don’t need the newest version, so to solve the problem i’ve had to download a Mysql Comunity Installer old version 5.7.27 to install the Mysql Server 5.7. Give it a try 🙂
In my case I could finally install it by:
[ProgramData]MySql
folder[Program Files (x86)]MySql
folderAnd installation succeed!
I am running windows 11 and installed version 8.0.31 with
developer
config.