> and for the Apache and nginx:
> 
> [root@srv-rhsoft:~]$ apachectl -t
> AH00526: Syntax error on line 14 of /etc/httpd/conf/httpd-prefork.conf:
> Invalid command 'ddd=dfdfdf', perhaps misspelled or defined by a module
> not included in the server configuration
> 
> where is something similar for mariadb/mysqld *before* restart the service?


There kind of is as of mysql 8.x (and I assume 10.4.x maria, haven't 
migrated/tested yet so not sure)

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


Could be a nice feature to backport to older trees ..

rr


_______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to     : maria-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to