X-Spam-Check-By: sourceware.org Content-Type: text/plain; charset="iso-8859-1" Date: Sat, 16 Jun 2007 21:46:41 +0200 From: =?iso-8859-1?Q?=22Tilman_Schr=F6der=22?= Message-ID: <20070616194641.21020@gmx.net> MIME-Version: 1.0 Subject: Running mysql as a service ... To: cygwin AT cygwin DOT com X-Authenticated: #14403406 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) Content-Transfer-Encoding: 8bit X-GMX-UID: RE8dKUQwMydhfxmSsWpl2MFjaGRhZlp8 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello everyone, I just spend some frunstrating hours on figuring out how to run a self-compiled cygwin mysql daemon as a service (win xp). first of all: using cygrunsrv.exe did not work for me, I do not know why, the problem is that there is no error log file for cygrunsrv or i am too stupid and did not found the log file then i tried this: C:\Programme\cygwin\bin\bash.exe -login -i -c "/usr/local/mysql/libexec/mysqlmanager.exe --run-as-service &" this command opens up 3 console windows which are being closed immediately again and after this, the mysql-server runs in the background! it's not a very good solution because this is no real service but just a command which can be put into the Autostart folder ... and now we have got a problem when more than one real windows user is logged in ... Does anyone know how to start the cygwin mysql server as a windows service ??? Would be very nice if somebody knew the trick ... BTW: no its not an option to use the precompiled windows mysql binaries because i need the php postscript extension on windows which needs pslib. and pslib can only be compiled within cygwin, not mingw or native windows. and if pslib only works in a cygwin environment, then the postscript extension and php have to be built within cygwin. but a cygwin php cannot be linked against windows binaries and therefor i need a cygwin version of mysql, too :( Thanks in advance, Tilman! -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/