Contributors:
IBM Corporation - Initial implementation
- Klaus Hartlage - www.eclipseproject.de
+ www.phpeclipse.de
**********************************************************************/
package net.sourceforge.phpeclipse.actions;
import org.eclipse.jface.preference.IPreferenceStore;
public class PHPStartMySQLAction extends PHPStartApacheAction {
- public void run(IAction action) {
- final IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore();
- execute(store.getString(PHPeclipsePlugin.MYSQL_PREF), "Start MySQL: ");
- }
+ public void run(IAction action) {
+ final IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore();
+ // execute(store.getString(PHPeclipsePlugin.MYSQL_PREF), "Start MySQL: ");
+ execute(
+ "mysql_start",
+ store.getString(PHPeclipsePlugin.MYSQL_RUN_PREF),
+ store.getString(PHPeclipsePlugin.MYSQL_PREF),
+ store.getBoolean(PHPeclipsePlugin.MYSQL_START_BACKGROUND));
+ }
}