Server Restart changes MySQL to default Settings

We have a server with a database that is used pretty heavily. In order to prevent "There are too many database connections open." messages from occurring we have had to change the defualt MySQL settings for max_connections and wait_timeout.

The MySQL settings for max_connections and wait_timeout revert back to the default settings when the server is restarted. We are looking for an explaination for why the MySQL settings are reverting back to the default settings when the server is restarted?

We have tried to modify etc/my.cnf but this has resulted in MySQL being completely down(it will not even restart). Obviously we are doing something wrong. Please help.

We are running RH 7.2 with Plesk

 

 

 

 

Top