List:Internals« Previous MessageNext Message »
From:Guilhem Bichot Date:February 11 2009 9:19pm
Subject:Re: Build with debug option
View as plain text  
Hello,

Hiromichi Watari a écrit, 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.
> 
> $ mysqld_safe -#d:t --user=root &

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=./mtp, and the 
hostname of my machine is gbichot4 so the debug output went into:
mtp/gbichot4.err
like this:

090211 22:15:33 mysqld_safe Starting mysqld daemon with databases from ./mtp
 >fix_slave_exec_mode
<fix_slave_exec_mode
 >convert_dirname
<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/
| <my_load_path

I'd recommend:
-#d:t:i
Thread
Build with debug optionHiromichi Watari9 Feb
  • Re: Build with debug optionChad MILLER9 Feb
    • Re: Build with debug optionHiromichi Watari9 Feb
      • Re: Build with debug optionGuilhem Bichot9 Feb
        • Re: Build with debug optionHiromichi Watari10 Feb
          • Re: Build with debug optionGuilhem Bichot10 Feb
            • Re: Build with debug optionHiromichi Watari10 Feb
              • Re: Build with debug optionVladimir Shebordaev10 Feb
                • Re: Build with debug optionHiromichi Watari10 Feb
                  • Re: Build with debug optionVladimir Shebordaev12 Feb
              • Re: Build with debug optionGuilhem Bichot10 Feb
                • Re: Build with debug optionHiromichi Watari11 Feb
                  • Re: Build with debug optionGuilhem Bichot11 Feb
                    • Re: Build with debug optionHiromichi Watari11 Feb
                      • Re: Build with debug optionGuilhem Bichot11 Feb
                        • Re: Build with debug optionHiromichi Watari12 Feb