Archive for the Database Category

Check MySQL config syntax

| July 20th, 2015

We need to check syntax and optional of Mysql before apply on server so use this command for it

[[email protected] mysql]# mysqld --help  --defaults-file=/etc/my.cnf | more
2015-07-20 17:09:42 0 [ERROR] mysqld: option '--skip-host-cache' cannot take an argument
2015-07-20 17:09:42 0 [ERROR] Aborting