OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
How to start / stop mySQL with NetBeans 6.7 under Apple MAC OS X 10.5 LEOPARD ?

From: Jacques PIOTROWSKI (pijacquenumericable.fr)
Date: Thu Jun 25 2009 - 13:26:20 CDT


>Description:
         In the tab "services", item "databases", choice "mySQL server
at localhost", right click, "admin properties" tab of window "mySQl
server properties"
        Path to start command "/usr/local/mysql/support-files/mysql.server"
with argument "start" : don't work
        Path to stop command "/usr/local/mysql/bin/mysqladmin" with argument
"shutdown -u root -pxxxxx" : works
        In fact, it is impossible to start mySQL without using the "sudo"
mode : why ?
        And why NetBeans has this panel to start mySQL : it is impossible to
start it like that...

>How-To-Repeat:
         Right click on "mySQL server at localhost" to start mySQL
>Fix:
         1) using in the Terminal : "sudo /usr/local/mysql/support-
files/mysql.server start"
        2) using the last version of prefPane to start / stop mySQL
        3) start / stop mySQL automaticaly at start / stop of the iMAC

>Submitter-Id: <submitter ID>
>Originator:
>Organization:
  <organization of PR author (multiple lines)>
>MySQL support: [none | licence | email support | extended email
support ]
>Synopsis: <How to start mySQL wth Netbeans ?>
>Severity: <serious>
>Priority: <medium>
>Category: mysql
>Class: <change-request>
>Release: mysql-5.1.30 (MySQL Community Server (GPL))

>C compiler: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc.
build 5465)
>C++ compiler: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc.
build 5465)
>Environment:
         <machine, os, target, libraries (multiple lines)>
System: Darwin imac-de-jacques-piotrowski.local 9.7.0 Darwin Kernel
Version 9.7.0: Tue Mar 31 22:52:17 PDT 20\
09; root:xnu-1228.12.14~1/RELEASE_I386 i386

Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc
GCC: Using built-in specs.
Target: i686-apple-darwin9

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql