ERROR 2002 (HY000): Can't connect to local MySQL server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vy3734
Posts: 109
Joined: Tue Sep 29, 2015 4:48 pm

Re: ERROR 2002 (HY000): Can't connect to local MySQL server

Post by vy3734 »

Attaching the second file.

I haven't followed all the steps in the document shared. would you suggest i redo the restore process and see if it works fine?

or should i go ahead and run the init.sh anyway? Please let me know. :)
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ERROR 2002 (HY000): Can't connect to local MySQL server

Post by scottwilkerson »

I would strongly suggest starting the restore fresh form the beginning.

Specifically if you can, I would highly recommend NOT changing from a centos 7 to a centos 6 machine, it really adds a lot of complexity, and requires a lot of extra steps.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vy3734
Posts: 109
Joined: Tue Sep 29, 2015 4:48 pm

Re: ERROR 2002 (HY000): Can't connect to local MySQL server

Post by vy3734 »

sure, i'll try the restore process in the document provided earlier. We recently upgraded our servers from RHEL 6.9 to 7.5. which is why we are having to do this. I'll try to do restore again and get back to you.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ERROR 2002 (HY000): Can't connect to local MySQL server

Post by scottwilkerson »

vy3734 wrote:sure, i'll try the restore process in the document provided earlier. We recently upgraded our servers from RHEL 6.9 to 7.5. which is why we are having to do this. I'll try to do restore again and get back to you.
Sounds good
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked