XAMPP MySQL Terminating worker thread 1
I used to work with XAMPP to build PHP applications. Once I tried Zend engine and uninstalled it. After that, MySQL in XAMPP is not working. It is giving "Terminating worker thread 1" error. When I check ports, MySQL has status Service: MySQL_ZendServer51.
Pleas help me开发者_开发技巧 how to reassign it back to XAMPP? I have reinstalled XAMPP several times. But no use.
Thanks, Raj
First you should delete the old mysql service.
Assuming you have Vista or Windows 7:
- Go to Start and type
cmd.exe
in the search field and hit Ctrl+Alt+Enter. This will start the command line asAdministrator
. - Now you can type
sc.exe delete MySQL_ZendServer51
to remove the service. - Now you can start your XAMPP Control Panel and uncheck the "svc" checkbox next to MySQL (if it's not already)
- Next check it on again (this will install the proper
mysql
service)
And make sure you don't have to server running (which could be possible, that Zend installed it's own mysql but for some reason didn't removed it?)
I just went here: c:\xampp\mysql\bin\mysqld.exe And opened the document and MySQL Started without problem.
精彩评论