[SQLSTATE[HY000] [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ]

I want to use existing database with different server but i got this error… How to fix this and how to config phpMyAdmin to solve this?

Thank you.