luthanhphu Posted September 19, 2014 Share Posted September 19, 2014 Hi, Recently, I've moved my prestashop to new host (Dreamhost). After doing follow all steps, I accessed my shop and got an error: Link to database cannot be established: SQLSTATE[HY000] [2002] No such file or directory www.90pluswine.vn I have checked setting.inc and ps_shop_url already. In fact, I keep the same domain name. I was looking for the solution and found out that It may be incompatible phpAdmin. My old hosting: phpAdmin 5xxx My new Dreamhost: phpAmin 3.3 I also asked Dreamhost supporter to upgrade it and got respond that they don't offer that. So, please help me what should I do to keep my shop alive? Many many many thanks. Link to comment Share on other sites More sharing options...
Bill Dalton Posted September 19, 2014 Share Posted September 19, 2014 (edited) Are you sure your database name is the same and the database password? If they are different you'll need to edit, \config\settings.inc.php. Edited September 19, 2014 by Bill Dalton (see edit history) Link to comment Share on other sites More sharing options...
luthanhphu Posted September 19, 2014 Author Share Posted September 19, 2014 Are you sure your database name is the same and the database password? If they are different you'll need to edit, \config\settings.inc.php. Absolutely sure . I've tried to remove it database and rename. Link to comment Share on other sites More sharing options...
tuk66 Posted September 19, 2014 Share Posted September 19, 2014 Some hints http://www.prestashop.com/forums/topic/264160-solucionado-error-sql-link-to-database-cannot-be-established-sqlstatehy000-2002/ http://forge.prestashop.com/browse/PSCFV-1744 http://stackoverflow.com/questions/22188026/sqlstatehy000-2002-no-such-file-or-directory Link to comment Share on other sites More sharing options...
Recommended Posts