On 19/12/2008, at 10:26 AM, Cafuego wrote: > apache does this by calling a distributed binary - apachectl - which > parses the config file. > > There is not currently such a utility for mysql and as far as I can > tell > there is no parameter for the server binary to simply parse the my.cnf > file and then exit.
mysqld --help --verbose generally barfs appropriately when it can't parse the my.cnf But since usually mysqld_safe starts it, it's not quite identical to a normal startup. > -- > add configtest option to mysql rc script > https://bugs.launchpad.net/bugs/309251 > You received this bug notification because you are a member of > OurDelta- > developers, which is the registrant for OurDelta. > > Status in OurDelta - Builds for MySQL: New > > Bug description: > Is it possible to add "configtest" option to rc script to validate > the configuration file without having to restart mysqld. > > I've seen similar functionality in some rc scripts (apache comes to > mind). -- Arjen Lentz, Director @ Open Query (http://openquery.com.au) MySQL Training from $475/day, DBA/Support from $249/month My blog is at http://arjen-lentz.livejournal.com OurDelta: free enhanced builds for MySQL @ http://ourdelta.org -- add configtest option to mysql rc script https://bugs.launchpad.net/bugs/309251 You received this bug notification because you are a member of OurDelta- developers, which is the registrant for OurDelta. Status in OurDelta - Builds for MySQL: In Progress Bug description: Is it possible to add "configtest" option to rc script to validate the configuration file without having to restart mysqld. I've seen similar functionality in some rc scripts (apache comes to mind). _______________________________________________ Mailing list: https://launchpad.net/~ourdelta-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~ourdelta-developers More help : https://help.launchpad.net/ListHelp

