Offload MySql to remote server.
Posted: Wed Jul 21, 2021 2:27 pm
So I have followed the document https://assets.nagios.com/downloads/nag ... Server.pdf
I'm successfully at the place where I am sending data from the old NagiosXI server DB to the new stand alone DB.
This command (mysqldump -u root -p'nagiosxi' nagios | mysql -u nagios -p'nagiosP@ssw0rd' -h 10.200.4.160 nagios) results in an error.
[root@nagios barnt]# mysqldump -u root -p'nagiosxi' nagios | mysql -u nagios -p'nagiosP@ssw0rd' -h 10.200.4.160 nagios
mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table `nagios_notifications` at row: 1834
The dump for the other two databases works correctly.
I did successfully run the rebuild databases command before I started this process.
Can someone tell me why this is not working?
thx
Tom
I'm successfully at the place where I am sending data from the old NagiosXI server DB to the new stand alone DB.
This command (mysqldump -u root -p'nagiosxi' nagios | mysql -u nagios -p'nagiosP@ssw0rd' -h 10.200.4.160 nagios) results in an error.
[root@nagios barnt]# mysqldump -u root -p'nagiosxi' nagios | mysql -u nagios -p'nagiosP@ssw0rd' -h 10.200.4.160 nagios
mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table `nagios_notifications` at row: 1834
The dump for the other two databases works correctly.
I did successfully run the rebuild databases command before I started this process.
Can someone tell me why this is not working?
thx
Tom