The MySQL service on Local Computer started and then stopped
I have MySQL 8.0.16 installed on Windows Server 2016. It was running with no problem. Then I had a need to use LOAD DATA LOCAL INFILE command which required me to add this to my.ini file secure-file-priv=''
I tried to restart the server but I am getting the following error image description here
"The MySQL service on Local Computer started and then stopped"
I removed the secure-file-priv='' line from `my.ini` file, but I am still getting the same problem when trying to start it. I restarted the whole machine but still the same problem.
I looked a the .err file but there is nothing there that tells me why it is not working.
What can I do to get it started again?
I tried to start mysql from the command line like so net start mysql --verbose then got the following
The MySQL service is starting.
The MySQL service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
typing NET HELPMSG 3534 return The service did not report an error.
Additionally, NETWORK SERVICE has full control permission on the Data folder
I also tried mysql --initialize but it is just hanging. Nothing is happening on the screen
How can I get my production server back up?
Subject
Views
Written By
Posted
The MySQL service on Local Computer started and then stopped
11573
July 07, 2019 03:17PM
2833
August 23, 2019 08:50AM
1755
December 19, 2019 10:48AM
1934
January 13, 2020 05:47PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.