Unfortunately, the installer doesn’t set up the commands needed to be able to start, stop, and restart the MySQL server, so you’re going to have to do this manually by opening the Terminal and entering the following command

sudo nano /usr/local/zend/bin/zendctl.sh
After entering your password you will now be in the Nano text editor, so move the cursor down a few lines using the down cursor key, and where you see the line that reads MySQL_EN="false", change the word false to true.

Now scroll down some more until you find these two lines:

case $1 in
"start")
Below that, you’ll see an indented line that reads:

$0 start-apache %
Just after this line, insert a new one that reads as follows:
$0 start-MySQL %
This will allow MySQL to start, but now you need to scroll down a little more until youget to the section that starts with:

"stop")
Then below it, you’ll see an indented line that reads:

$0 stop-apache %
Just after this line, insert a new one that reads as follows:

$0 stop-MySQL %
This will allow MySQL to be stopped. Now you can press Ctrl-X to exit from edit mode, press the Y key when prompted to save the changes, and then press Return to save the edited file.