From: Hiromichi Watari Date: February 12 2009 1:04pm Subject: Re: Build with debug option List-Archive: http://lists.mysql.com/internals/36257 Message-Id: <505438.83479.qm@web55907.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Guilhem, I really appreciate the info, you have been a source of great help. Thank you very much and have a nice day. Hiromichi --- On Wed, 2/11/09, Guilhem Bichot wrote: > From: Guilhem Bichot > Subject: Re: Build with debug option > To: hiromichiwatari@stripped > Cc: "Chad MILLER" , internals@stripped > Date: Wednesday, February 11, 2009, 4:19 PM > Hello, >=20 > Hiromichi Watari a =E9crit, Le 02/11/2009 06:29 PM: > > Hi Guilhem, > > Thank you for your help, I think I've got it > working now except that I am > > not getting debug output from the server. Do you know > why that might be ? > > I do get debug output from mysql client, here is what > I type to start the > > server. > >=20 > > $ mysqld_safe -#d:t --user=3Droot & >=20 > As there is no "o/O/a/A" in the # argument, > mysqld prints its debug output to stdout, which is > redirected to its error log. > I tested and the output goes into the data directory of > mysqld, *.err file. In my case, I was running mysql_safe > with --datadir=3D./mtp, and the hostname of my machine is > gbichot4 so the debug output went into: > mtp/gbichot4.err > like this: >=20 > 090211 22:15:33 mysqld_safe Starting mysqld daemon with > databases from ./mtp > >fix_slave_exec_mode > >convert_dirname > >my_realpath > | info: executing realpath > | error: realpath failed with errno: 2 > | >my_load_path > | | enter: path: /usr/local/mysql/ prefix: > | | exit: to: /usr/local/mysql/ > | =20 > I'd recommend: > -#d:t:i=0A=0A=0A