Having severe delay when connecting to cPanel MySQL using remote SQL.
I had this problem a couple of years ago and decided it must have been my legacy scripts causing the issue. I've since rewritten my connection scripts using PDO and the problem still remains across all my cPanel servers.
If I run my new development on the cPanel server running localhost I get a total executive time of 8ms which is very fast.
If I run on my local machine but set to the IP of my server the total script execution time is 600ms.
It can't be anything local on my Wamp as on my Mac with MacOS's native install of PHP it does exactly the same thing.
Is there any way to speed up the connection? I disabled the firewall too so no issues from that.
I had this problem a couple of years ago and decided it must have been my legacy scripts causing the issue. I've since rewritten my connection scripts using PDO and the problem still remains across all my cPanel servers.
If I run my new development on the cPanel server running localhost I get a total executive time of 8ms which is very fast.
If I run on my local machine but set to the IP of my server the total script execution time is 600ms.
It can't be anything local on my Wamp as on my Mac with MacOS's native install of PHP it does exactly the same thing.
Is there any way to speed up the connection? I disabled the firewall too so no issues from that.