MySQL Workbench : Server Administration Configuration - HOW TO

匿名 (未验证) 提交于 2019-12-03 08:46:08

问题:

I am getting an error upon trying to Create New Server Instance Profile (click this to see the image) :

Operation failed: /usr/local/mysql/support-files/mysql.server start is invalid

I am not sure where the setting panel is for the workbench to fix the start and stop commands, and the location of '/usr/local/mysql/support-files/mysql.server'. I am using Zend Server CE and I have no directory called '/usr/local/mysql', instead mysql.server is situated in '/usr/local/zend/mysql/bin' but how do I tell Workbench to look for it in the appropriate place.

The start and stop commands are :

sudo /usr/local/zend/mysql/bin/mysql.server

Again how do I fix this for workbench.

回答1:

It seems that MySQL Workbench is using a command to start/stop the server that doesn't work for your setting. You should manually correct it.

In the main WB screen, go to Manage Server Instances (near the lower right corner) and select the server instance you are using in the list control to the left. Then go to the System Profile tab and change your commands accordingly.



回答2:

You can find MySQL setting in your Mac system settings page. Go there, you can start or stop mysql server. It works for me with OSX 10.11.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!