List:General Discussion« Previous MessageNext Message »
From:Larry Martell Date:February 29 2012 6:20pm
Subject:Re: mysql for os x 10.6 (64bit) cannot start service
View as plain text  
On Wed, Feb 29, 2012 at 11:00 AM, Elim Qiu <elim.qiu@stripped> wrote:
>
> -rw-r--r--   1 root    wheel  17987 Dec 17 09:01 COPYING
> -rw-r--r--   1 root    wheel   7371 Dec 17 09:01 INSTALL-BINARY
> -rw-r--r--   1 root    wheel   2552 Dec 17 09:01 README
> drwxr-xr-x  46 root    wheel   1564 Dec 17 09:01 bin
> drwxr-x---   8 _mysql  wheel    272 Feb 29 10:36 data
> drwxr-xr-x   4 root    wheel    136 Dec 17 09:01 docs
> drwxr-xr-x  35 root    wheel   1190 Dec 17 09:01 include
> drwxr-xr-x  22 root    wheel    748 Feb 29 10:33 lib
> drwxr-xr-x   4 root    wheel    136 Dec 17 09:01 man
> drwxr-xr-x  15 root    wheel    510 Dec 17 09:01 mysql-test
> drwxr-xr-x   3 root    wheel    102 Dec 17 09:01 scripts
> drwxr-xr-x  35 root    wheel   1190 Dec 17 09:01 share
> drwxr-xr-x  29 root    wheel    986 Dec 17 09:01 sql-bench
> drwxr-xr-x  16 root    wheel    544 Dec 17 09:01
> support-files
>
> I found the MySQL document is often difficult to read, but a web search
> indicates that should in data directory, but I cannot even cd to that
> directory (sudo is not good enough!)

Is the sudo succeeding? If it is, then there's no reason you shouldn't
be able to cd into that dir.  If not, then you're going to have to be
able to get root privileges on your own machine.

Alternatively, you could explicitly set the location of the error log
in your mysql config file (my.cnf) , to a location you can access,
e.g.

log-error=/tmp/mysqld.log

put it under [mysqld] and [mysqld_safe]



>
>
> On Wed, Feb 29, 2012 at 10:33 AM, Larry Martell <larry.martell@stripped>
> wrote:
>>
>> On Wed, Feb 29, 2012 at 10:17 AM, Elim Qiu <elim.qiu@stripped> wrote:
>> > Thanks Larry and Darryle for your help
>> >
>> > Where the error log should be?
>>
>> http://dev.mysql.com/doc/refman/5.0/en/error-log.html
>>
>>
>> >
>> > On Wed, Feb 29, 2012 at 8:22 AM, Larry Martell
>> > <larry.martell@stripped>
>> > wrote:
>> >>
>> >> On Wed, Feb 29, 2012 at 7:46 AM, Elim Qiu <elim.qiu@stripped>
> wrote:
>> >> > Yes, there is an icon. I can open the preference but the start
>> >> > service
>> >> > button cannot do the job
>> >>
>> >> What is in the mysql error log?
>> >>
>> >>
>> >> >
>> >> > On Wed, Feb 29, 2012 at 7:20 AM, Darryle Steplight
>> >> > <dsteplight@stripped>
>> >> > wrote:
>> >> >
>> >> >> Do you see a MySql icon under  System Preferences >
> Other ? That's
>> >> >> how
>> >> >> I start MySql on my Mac.
>> >> >>
>> >> >> **
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >
>> >
>
>
Thread
mysql for os x 10.6 (64bit) cannot start serviceElim Qiu29 Feb
  • Re: mysql for os x 10.6 (64bit) cannot start serviceDarryle Steplight29 Feb
  • Re: mysql for os x 10.6 (64bit) cannot start serviceElim Qiu29 Feb
    • Re: mysql for os x 10.6 (64bit) cannot start serviceDarryle Steplight29 Feb
  • Re: mysql for os x 10.6 (64bit) cannot start serviceElim Qiu29 Feb
    • Re: mysql for os x 10.6 (64bit) cannot start serviceLarry Martell29 Feb
      • Re: mysql for os x 10.6 (64bit) cannot start serviceElim Qiu29 Feb
        • Re: mysql for os x 10.6 (64bit) cannot start serviceLarry Martell29 Feb
          • Re: mysql for os x 10.6 (64bit) cannot start serviceElim Qiu29 Feb
            • Re: mysql for os x 10.6 (64bit) cannot start serviceLarry Martell29 Feb
              • Re: mysql for os x 10.6 (64bit) cannot start serviceReindl Harald29 Feb
                • Re: mysql for os x 10.6 (64bit) cannot start serviceDarryle Steplight29 Feb
                  • Re: mysql for os x 10.6 (64bit) cannot start serviceElim Qiu29 Feb
                    • Re: mysql for os x 10.6 (64bit) cannot start serviceElim Qiu29 Feb
                    • Re: mysql for os x 10.6 (64bit) cannot start serviceLarry Martell29 Feb
            • Re: mysql for os x 10.6 (64bit) cannot start serviceDarryle Steplight29 Feb