From: Reindl Harald Date: February 29 2012 7:10pm Subject: Re: mysql for os x 10.6 (64bit) cannot start service List-Archive: http://lists.mysql.com/mysql/226903 Message-Id: <4F4E7827.5040501@thelounge.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA711CB8520DA86977B724914" --------------enigA711CB8520DA86977B724914 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. >=20 > log-error=3D/tmp/mysqld.log >=20 > 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? --------------enigA711CB8520DA86977B724914 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9OeCcACgkQhmBjz394Anky2gCgjJiW6uF+rcX6anSOaTdQhXAD kmIAnRk9zLzLUMV7FbILVzAJMklhmYvu =8Hj0 -----END PGP SIGNATURE----- --------------enigA711CB8520DA86977B724914--