Posted By: tidus on November 19, 2012, 6:58 am | Post: 1 |
Hi,
There can be three possible reasons that mysql.sock is not available at that location : 1. MySQL is not running. 2. You have two MySQL on your machine, and other MySQL is running instead of AMPPS MySQL. 3. /Applications/AMPPS/mysql/tmp folder does not exist. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: tidus on November 20, 2012, 5:56 am | Post: 3 |
Hi,
Can you open a ticket ? We will look into it. http://www.ampps.com/support ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: tidus on November 21, 2012, 5:16 am | Post: 5 |
Hi,
We we were able to generate this issue. Will let you know the solution asap. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: Vulcanus on November 27, 2012, 4:58 pm | Post: 6 |
Any news?
thanks bye |
Posted By: tidus on November 28, 2012, 6:56 am | Post: 7 |
Hi,
The file is present. Its a socket file. Its just not shown in the Finder. Code Jigars-Mac:~ jigar$ ls -lha /Applications/AMPPS/mysql/tmp/mysql.sock
srwxrwxrwx 1 jigar admin 0B Nov 28 12:19 /Applications/AMPPS/mysql/tmp/mysql.sock Jigars-Mac:~ jigar$ file /Applications/AMPPS/mysql/tmp/mysql.sock /Applications/AMPPS/mysql/tmp/mysql.sock: socket Jigars-Mac:~ jigar$ type /Applications/AMPPS/mysql/tmp/mysql.sock /Applications/AMPPS/mysql/tmp/mysql.sock is /Applications/AMPPS/mysql/tmp/mysql.sock Jigars-Mac:~ jigar$ sudo ln -s /Applications/AMPPS/mysql/tmp/mysql.sock /var/mysql/mysql.sock ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: tidus on November 29, 2012, 3:50 pm | Post: 9 |
Quote From : Vulcanus November 29, 2012, 1:55 pm Ok,
but why I receive with the command "Drush status" WARNING PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) environment.inc:517 the same thing happens on my iMac and on my MacBook. I also tried your commands and they are all ok except the last one: if I do "sudo ln -s /Applications/AMPPS/mysql/tmp/mysql.sock /var/mysql/mysql.sock" , I receive "ln: /var/mysql/mysql.sock: No such file or directory" What should I do? Thanks Hi, Type : Code $ mkdir /var/mysql
$ sudo ln -s /Applications/AMPPS/mysql/tmp/mysql.sock /var/mysql/mysql.sock ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: Vulcanus on November 29, 2012, 6:44 pm | Post: 10 |
GREAT !!! Yeah, now it's all right.
Thank you very much !!!! bye |
Posted By: webbermusic on July 9, 2014, 10:28 pm | Post: 11 |
It still did not work for me until I changed the host from "localhost" to "127.0.0.1"
https://www.drupal.org/node/1428638%20for%20details |