Connection failed: SQLSTATE[HY000] [2002] No such file or directory

Username ( epiz_27821200) or Website URL http://ilikelinkshortner.freecluster.eu/

(please specify the website or account you are asking about)

Error Message

(please share the FULL error message you see)
Connection failed: SQLSTATE[HY000] [2002] No such file or directory

Other Information

Connection failed: SQLSTATE[HY000] [2002] No such file or directory
(other information and details relevant to your question)

Please search the forum before posting as there is tons of other topics about the same problem.

https://forum.infinityfree.com/search?q=Connection%20failed%3A%20SQLSTATE%5BHY000%5D%20%5B2002%5D%20

Please provide a bit more information than ‘Connection failed’.

Where are you trying to connect from? What page are you seeing this error on?

This error is described in this article:

In short: this is caused by using localhost as the database hostname instead of sqlXXX.epizy.com (where XXX is a number, check the MySQL Databases in the control panel for the value for your account).

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.