hi getting this error intermittently, not sure what is happening.
Could not connect to the database!
it automatically reconnects though.
Brian
XI DB Connection Error on OPS Screen
-
dwasswa
Re: XI DB Connection Error on OPS Screen
Hi @blariv,
Are you monitoring the DB locally or its a remote?
The reason why i am asking is to see if its a network issue or not because you mentioned that it disconnects and reconnects itself right?
Are you monitoring the DB locally or its a remote?
The reason why i am asking is to see if its a network issue or not because you mentioned that it disconnects and reconnects itself right?
Re: XI DB Connection Error on OPS Screen
it is local. this is the actual db for the ops screen, not something I am monitoring.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: XI DB Connection Error on OPS Screen
you may need it increase your max-connection for mysqld
If you edit your /etc/my.cnf
You can add the following under the [mysqld] sectio
Then restart mysqld
If you edit your /etc/my.cnf
You can add the following under the [mysqld] sectio
Code: Select all
max-connections=500Code: Select all
service mysqld restartRe: XI DB Connection Error on OPS Screen
added, I will monitor today and let you know if its fixed.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: XI DB Connection Error on OPS Screen
Sounds great let us know if the error returns.blariv wrote:added, I will monitor today and let you know if its fixed.