[EMAIL PROTECTED] writes:
> So, I'd really like to have mysql working on OS X and while there were a 
> few people trying it out and having difficulty, I have yet to see any 
> posts of total success.
> 
> I'm an experienced MacOS programmer, but I have little experience on 
> Unix --  so I'm way behind the curve on looking at the source and 
> figuring it out.  My only thought is to try to dive in and run mysqld 
> via gdb and then try to figure out the source tree sufficiently to see 
> where the shutdown (HUP?) message is getting handled and then set a 
> breakpoint to see if that code is ever getting called and watch where it 
> gets stuck by tracing from there.
> 
> Unfortunately, I don't know how to use gdb (yet), and there is a LOT of 
> source to slog through to find where the shutdown code is.    Perhaps a 
> more experienced unix hack could recommend some starting places; perhaps 
> someone more experienced with the mysql source could point me to the 
> locations of signal handling code (I hope it's not too obvious, since I 
> haven't even looked yet... :-(  Got to get gdb working first... ).
> 
> 
> So, if there is something I can do here to help get the issues resolved, 
> I'd like to do so.  Please feel free to email me directly with 
> suggestions, staring points etc.,  if that helps.
> 
> Thanks,
> Tyler
> [EMAIL PROTECTED]
> 
> 
> P.S.  The problems I have seen posted and experienced myself are:
> 
> 1) the small edit to get it to compile (not a big deal, but should get 
> fixed)
> 
> 2) The mysqld cannot be stopped short of kill -9
> 
> 3) trying to use mysqladmin shutdown to stop mysqld (and safe_mysql) 
> fails (hangs, requires kill -9 to halt)
> 
> 4) the tests do not work.
>       4a) make test fails
>       4b) mysql-test-run   fails
> 


Hi!

Yes, you can help MySQL being better ported to OS X.

You should first learn to use gdb ... ;o)

It is truly not so difficult.

There are also some GUI interfaces for it. I do not know which ones
work on OS X.

Regarding a diff to make it compile, if you have not sent it to us,
please do.

Regarding second and third problem, you should take a deeper look at
OS X signals and try to see what goes on. Signal handling is all done
in mysqld.cc in sql/ subdir.

Regarding failing tests, you should examine the error log.


Regards,

Sinisa

      ____  __     _____   _____  ___     ==  MySQL AB
     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic
    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:[EMAIL PROTECTED]
   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaca, Cyprus
  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
             /*/             \*\                Developers Team

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to