benjamin-mdk-bugzilla <[EMAIL PROTECTED]> writes: > http://qa.mandrakesoft.com/show_bug.cgi?id=1404 > > [EMAIL PROTECTED] changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|RESOLVED |REOPENED > Resolution|FIXED | > > > > ------- Additional Comments From [EMAIL PROTECTED] 2003-03-09 05:10 ------- > Sorry about the default for datadir. I noticed it, but forgot to include it in > my report. > > And a second sorry for nitpicking (and somehow hijacking this bug step by step), > but IMHO > datadir=`my_print_defaults mysqld | grep '^--datadir' | cut -d \ -f2-` > has to be > datadir=`my_print_defaults mysqld | grep '^--datadir=' | cut -d= -f2-` > > i.e. the key and values are seperated by a "=" sign (The "cut" is the relevant > part. Appending "=" to the "grep" is just some future-safety while I am at it). >>From a production server of mine: > > $ my_print_defaults mysqld | grep '^--datadir' | cut -d \ -f2- > --datadir=/var/lib/mysql > $ my_print_defaults mysqld | grep '^--datadir=' | cut -d= -f2- > /var/lib/mysql > > So I am not sure why you changed my example "-d=" to "-d \ ". Do I missing > something? (And ignore that in the example above the variable happens to be set > to the default, "/var/lib/mysql").
No I just though my tests works with "datadir /var/lib/mysql" but indeed they don't. Fixing. -- Warly