# How to solve Failed: No such file or directory problem

**URL:** <https://forum.infinityfree.com/t/how-to-solve-failed-no-such-file-or-directory-problem/53569>\
**Category:** Hosting Support\
**Created:** [October 24, 2021, 2:58pm UTC](https://forum.infinityfree.com/t/how-to-solve-failed-no-such-file-or-directory-problem/53569 "2021-10-24T14:58:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon84120404](https://forum.infinityfree.com/letter_avatar/anon84120404/32/6_449c533f586939b6e5f246632a46421f.png) [@anon84120404](https://forum.infinityfree.com/u/anon84120404)\
**Post date:** [October 24, 2021, 2:58pm UTC](https://forum.infinityfree.com/t/how-to-solve-failed-no-such-file-or-directory-problem/53569/1 "2021-10-24T14:58:43Z")

</div>

### Username (e.g. epiz\_XXX) or Website URL

[http://doiniksobujpotro.epizy.com/](http://doiniksobujpotro.epizy.com/)  
(please specify the website or account you are asking about)

### Error Message

Failed: No such file or directory  
(please share the FULL error message you see

### Other Information

its has been showing for more than 3 days but my website is still nor working . this is my first time hosting a website i am new to web developement please help me  
(other information and details relevant to your question) **strong text**

---

<div class="post-metadata">

**Author:** ![wackyblackie](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/wackyblackie/32/43350_2.png) [@wackyblackie](https://forum.infinityfree.com/u/wackyblackie)\
**Post date:** [October 24, 2021, 3:08pm UTC](https://forum.infinityfree.com/t/how-to-solve-failed-no-such-file-or-directory-problem/53569/2 "2021-10-24T15:08:20Z")

</div>

Are you using a CMS? If so, which one?  
There is no helpful error message on the website, nor did you provide one.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [October 30, 2021, 2:19pm UTC](https://forum.infinityfree.com/t/how-to-solve-failed-no-such-file-or-directory-problem/53569/3 "2021-10-30T14:19:09Z")

</div>

> [@anon84120404](#):
>
> Failed: No such file or directory

This almost always means you are using the database hostname `localhost` instead of the value you’re supposed to be using, which is displayed in the client area and control panel.

> [@Common MySQL Connection Errors](https://forum.infinityfree.com/t/common-mysql-connection-errors/49338):
>
> Many websites use MySQL databases to store information and settings. However, there are some reasons why the connection to the database may fail. This article describes some commonly seen error messages when connecting to a database, as well as some general tips to keep in mind when setting up a database connection. Common Error Messages Using MySQL is great, but the error message returned if there is an issue logging in to your database can be quite confusing. Here are some commonly seen error…

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [November 6, 2021, 2:19pm UTC](https://forum.infinityfree.com/t/how-to-solve-failed-no-such-file-or-directory-problem/53569/4 "2021-11-06T14:19:25Z")

</div>

Closed on November 6, 2021, 2:19pm UTC

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