I have setup a new server and changed the dns to new server, After changing server cpu goes to 100%. My server has 16 cpu, 64gb RAM, NVME SSD, OLS installed. I checked sql and found this. Please check screenshot.
https://prnt.sc/trll0v
I think mysql is giving high load. In this screenshot I found Active/Max connection 6/1.
Is it the issue for 100% cpu? How can I increase it?
Also sql is not connecting with the website. it gives error:
Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002]