• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Magento Installation SQLSTATE[HY000] [2002] No such file or directory error

phpmagentoxampp


PHP Snippet 1:

service mysql start

PHP Snippet 2:

ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock

Related Snippets

WordPress + Nginx on non-standard port behind AWS ELB results in broken links

How to get quarter for future date using Carbon?

Symfony/Form add attribute based on the data

PHP AWS Cognito 'Error executing "SignUp" : ResourceNotFoundException : User pool client XXXX does not exist

How to change the app environment at run time?

How to create a scheduler application in php

What is PHP's equivalent of JavaScript's "array.every()"?

PHP Find Array Index value in multi-line array

How can I get a div content in php

Warning: sqlite_query() expects parameter 1 to be resource, string given

Get image type from base64 encoded src string

How can I format this number correctly using PHP?

Adding reCAPTCHA v2 into my PHP file

How to prevent phpmailer sending embedded image as an attachment on Gmail?

(PHPUnit) PHP Fatal error: Uncaught Error: Call to undefined function each()

About Contact Privacy policy Terms and conditions