On Wed, Feb 29, 2012 at 11:00 AM, Elim Qiu <elim....@gmail.com> 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.mart...@gmail.com> > wrote: >> >> On Wed, Feb 29, 2012 at 10:17 AM, Elim Qiu <elim....@gmail.com> 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.mart...@gmail.com> >> > wrote: >> >> >> >> On Wed, Feb 29, 2012 at 7:46 AM, Elim Qiu <elim....@gmail.com> 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 >> >> > <dstepli...@gmail.com> >> >> > wrote: >> >> > >> >> >> Do you see a MySql icon under System Preferences > Other ? That's >> >> >> how >> >> >> I start MySql on my Mac. >> >> >> >> >> >> ** >> >> >> >> >> >> >> >> >> >> >> >> >> > >> > > > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql