List:General Discussion« Previous MessageNext Message »
From:Darryle Steplight Date:February 29 2012 7:35pm
Subject:Re: mysql for os x 10.6 (64bit) cannot start service
View as plain text  
If you are going to use "su" to officially switch to the root users
just make sure you do "su -"  with the dash.

On Wed, Feb 29, 2012 at 2:10 PM, Reindl Harald <h.reindl@stripped> wrote:
>
>
> Am 29.02.2012 19:20, schrieb Larry Martell:
>> 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]
>
> but you would have still NO PERMISSIONS to that logfile
> because it is owned by mysqld and a normal user has
> usually no permissions to daemon-logs especially
> because /tmp has normally 1777 -> everybody can
> write but after create a file only the owner is
> allowed to access it
>
> why not using "su" to REALLY switch to root?
>



-- 
----------------------------------------------
"May the Source be with you."
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