Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL Workbench : Server Administration Configuration - HOW TO

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.

like image 545
Mohammed Naseer Avatar asked May 19 '12 14:05

Mohammed Naseer


People also ask

How do I start MySQL Workbench as administrator?

To open the Administration - Users and Privileges secondary tab (see the previous figure), click Server and then Users and Privileges. Administration tab. You can display only one administration tab at a time; subsequent administration tabs replace the active tab. To close an open tab, click the x on the tab.


3 Answers

On MacOS Big Sur it would be like that: Go to Server -> Management Access Settings -> System Profile tab, and put in MySQL Management boxes below commands:

/usr/local/mysql/support-files/mysql.server start
/usr/local/mysql/support-files/mysql.server stop

Remember to check option: Elevate privileges to execute start/stop command and write configuration data.

My installation was from .dmg file. Funny thing, every time I was trying to stop or start server, had to check that box to elevate privileges before, it was unchecking by itself.

like image 123
rickenbacker Avatar answered Nov 03 '22 00:11

rickenbacker


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.

like image 33
h--n Avatar answered Nov 02 '22 23:11

h--n


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.

like image 28
Sergio Avatar answered Nov 03 '22 00:11

Sergio