Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I installed WAMP, then I installed Zend Server CE and both servers are working (both are on port 80 but I'm only running one server at a time).
But MySQL is not working with Zend Server.
I don't want to install another mysql server because I want to use the databases created with WAMP.
And I want to be able to test the same app in both servers.

Do you know how to configure Zend Server for using MySQL from WAMP?

Thanks !

EDIT: just to clarify:
I can run Zend Server OK, and run my PHP code, but I can't connect to mysql neither with PHP nor with MySQL Workbench if I'm using Zend Server (when I change to WAMP everything works fine again)

share|improve this question

1 Answer 1

up vote 0 down vote accepted

OK, I found the problem so I'm putting the solution here:
When you init wamp server it starts mysql service too automatically
When you close it, it closes mysql too
So if you run Zend Server you need to start mysql manually.

Or you could do this:

1) Open Wamp
2) Don't close Wamp, just shutdown the Apache service from Wamp menu (it will let mysql service running)
3) Start Zend Server

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.