My Wordpress get database connection error, after changed my socket path. By fixing that just Change: define('DB_HOST', 'localhost'); To: define('DB_HOST', 'localhost:/tmp/mysql.sock'); Published: February 19 2012 category: tags: Wordpress 1 Related Posts • iOS ARC trap • Check how many client connected to your internet sharing on your mac • Prevent iCloud backup your downloadable content on iOS • Use bower in rails • jquery page scroll animation • How to solve the error: no decode delegate for this image format • Capistrano with bundler • New xcode uncomfortable things • Problem with carrierwave when you have two servers • use ActiveSupport::Configurable to store config options Tweet Please enable JavaScript to view the comments powered by Disqus. blog comments powered by Disqus