Awesome! Where should/will that be checked in into the Drizzle tree? Also, this is currently possible with mysqld --verbose --help. For example:
> cat foo.cnf [mysqld] bad_mysql_option > mysqld --defaults-file=foo.cnf --verbose --help 090429 10:34:59 [ERROR] mysqld: unknown option '--bad_mysql_option' So there's no need for a separate tool in either case....the end of the output of mysqld when the option file is good will show all the variables and their values. -Sheeri On Tue, Apr 28, 2009 at 9:47 PM, Arjen Lentz <ar...@openquery.com> wrote: > Hi Jeremy, > > On 29/04/2009, at 4:13 AM, Jeremy Zawodny wrote: >> >> The other related thing that I've occasionally wished for, aside from >> "remote restart", is the equivalent of apache's "apachectl configtest" to >> verify that my new config parses before trying to bounce a server. It's a >> little thing, but you use it a lot in Apache land... > > > Undocumented on site info, but Peter added that into the OurDelta build of > MySQL 4.0.77-d8 > It's a little addition to mysql.server.sh script which is used as a baseline > for some distros, and of course the OurDelta packages. > > Essentially I think it does a mysqld --help --verbose which will trigger > reading of the config file, and reports errors... it can be done much nicer > if we were to modify the mysqld.c code, like not trip over the first error > encountered etc, but it works. > > > Cheers, > Arjen. > -- > Arjen Lentz, Director @ Open Query (http://openquery.com) > Affordable Training and ProActive Support for MySQL & related technologies > > Follow our blog at http://openquery.com/blog/ > OurDelta: free enhanced builds for MySQL @ http://ourdelta.org > > > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~drizzle-discuss > Post to : drizzle-discuss@lists.launchpad.net > Unsubscribe : https://launchpad.net/~drizzle-discuss > More help : https://help.launchpad.net/ListHelp > -- - Sheeri K. Cabral http://tinyurl.com/mysqlbook will take you to the Amazon.com page for my upcoming book, "MySQL Administrator's Bible". _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : drizzle-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp