Service Could Not Be Started Error on Launching MySQL in CMD

Asked By 0 points N/A Posted on -
qa-featured

 

Hello Experts

I receive the error  when trying to launch mysql from the command prompt, It will reply starting then moments later give the error "The ***Service could not be started".

Please help me.

Thanks in advance. 

SHARE
Answered By 0 points N/A #162597

Service Could Not Be Started Error on Launching MySQL in CMD

qa-featured

Hello Adnanq,

You can try to start the MySQL server manually from the command line. Check first if the MySQL program files contain bin folder. From the command prompt window, type:

C:<enter> then “c:Program FilesMySQLMySQL Server 5.5binmysqld’

The path will vary according to the installation location of the MySQL files. If a password has been set for the root account, you will need to call mysqladmin using the –p option and type the password when prompted to. If the server does not start, check the error log to see whether the server has indicated the cause of the problem. The error log is found in the MySQL program files in a folder known as data (.err). you will find an error log message which states the cause of the error and the correct the error.

Thank you.

Related Questions