Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

mail_open
Magento coding setup
Jay Bond
Member
July 1, 2014 - 9:00 am
Member Since: February 26, 2014
Forum Posts: 193
sp_UserOfflineSmall Offline

Hi Matt/Dave,

I’m constantly getting these error messages so at the minute can’t use magento at all, my server provider says it maybe something to do with how my magento coding is setup, how can i find this out?

Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)’ in /home/asitsugc/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php:129
Stack trace:
#0 /home/asitsugc/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct(‘mysql:host=loca…’, ‘asitsugc_magent…’, ‘fmLce)rTi+#%’, Array)
#1 /home/asitsugc/public_html/lib/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect()
#2 /home/asitsugc/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(320): Zend_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/asitsugc/public_html/lib/Zend/Db/Adapter/Abstract.php(459): Varien_Db_Adapter_Pdo_Mysql->_connect()
#4 /home/asitsugc/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(‘SET NAMES utf8’, Array)
#5 /home/asitsugc/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query(‘SET NAMES utf8’, Array)
#6 /home/asitsugc/public_html/app/co in /home/asitsugc/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php on line 144

Thanks

Jay

Avatar
Jim @ Moogento
Global

Partner
January 2, 2015 - 11:25 am
Member Since: November 7, 2013
Forum Posts: 688
sp_UserOfflineSmall Offline

I think I’ve seen this before and it needed an upgrade of Zend on the server side. I think it was something like PHP had been upgraded but not zend, or the other way around!

That error can maybe also mean under-provisioning the database.

  • pickPack - smarter Magento packing sheets and warehouse picklists
  • shipEasy - process multiple orders with no sweat & get a visual sales overview easily

 

Why Should You Join UnderstandingE?

 
  • Access to over 500 step-by-step video tutorials
  • +20 video courses available
  • Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
  • Everything is in 100% Plain English
  • Learn how to build your own multi-channel software for eBay & Amazon
  • Access to the community forums, meet fellow business owners like yourself

Join Now with 2 Clicks

 

Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.

 

Forum Timezone: Europe/London

Most Users Ever Online: 1012

Currently Online:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Jim @ Moogento: 688

Steve Froggatt: 514

Badeth - UE: 513

Jimbob: 453

Paul Cartwright: 414

Forum Stats:

Groups: 6

Forums: 37

Topics: 5222

Posts: 27488

Administrators: Matthew Ogborne: 4565, Dave Furness: 4606