InMotion Hosting Support Center

error when connecting to website

Category: Databases

n/a Points
2014-08-13 10:11 am EST

Hits: 149
Getting following error message
Warning: PDO::__construct() [pdo.--construct]: [2002] No such file or directory (trying to connect via unix:///var/lib/mysql/mysql.sock) in /home/rxdrug5/public_html/includes/database/ on line 307

I may have created problem when I changed something in php.ini file. I did this to get email working.

You must login before you can ask a follow up question.

You must login before you can submit an answer.



30,905 Points
2014-08-13 10:36 am EST

Thank you for your question. Our System Administrators are aware of issues with your server, and are currently working on it.

We are usually quick to address these type of problems on shared servers. Shared Hosting includes our Personal / Cheap Hosting Plans and our Business Class Hosting Plans. Shared Hosting is very similar to living in an Apartment Complex. All residents are in the same location and must share the available resources with everyone - such as the pool, parking lot, and play ground. In shared hosting, all accounts (sites) must share the available resources with all the other accounts on the server - such as CPU time, memory, and disk space. Due to the nature of a shared enviornment it is possible for neighbors to negatively impact your experience. This would be to a lesser degree on a VPS platform where you have resources dedicated to you.

Thank you for your understanding. If you have any further questions, please do not hesitate to contact us.

If you have any further questions, feel free to post them below.
Thank you,


You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!