Score:0

How to validate mariadb/mysqld configuration options while it is running

ar flag

Is there a way to validate mysql.cnf files while mysqld is running?
If I run mysqld --validate-config, it just hangs, because there is already one running.
mysqld is scheduled to restart at 3am every morning and I want to be able to tweak the settings without worrying that a typo will kill mysql until I wake up and check the next morning.

Score:0
jp flag

For version 8, this is from the manual, see this URL

https://dev.mysql.com/doc/refman/8.0/en/server-configuration-validation.html

Score:0
cn flag

I'm just researching the same problem.

I don't think mariadb's mysqld supports --validate-config, at least mysqld --verbose --help does not mention it.

Maybe only Oracle's mysqld supports it?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.