Softaculous


Topic : Drush mysql.sock error AMPPS


Posted By: sergiu on March 20, 2015, 3:12 pm
Hi I'm having an issue running Drush on ampps. Ive installed drush trough the composer and drush is working fine for downloading files on my project but it cant connect to the database. Ive configured the path of the php5.3 in my bash_profile and linked the database

Quote

mkdir /var/mysql
$ sudo ln -s /Applications/AMPPS/mysql/tmp/mysql.sock /var/mysql/mysql.sock



Ive changed the to Database hostname :  127.0.0.1  from localhost and checked that the port is 3306, but it didnt seem to help. If someone could advice me how to get it working that would be great.

The drush command 'pm-disable toolbar' could not be executed.        [error]
Drush was not able to start (bootstrap) the Drupal database.        [error]

connect the database through a socket. The socket file may be
wrong or the php-cli may have no access to it in a jailed shell.

Thank you!

Posted By: crocq on July 15, 2015, 11:02 am | Post: 1
I'm having this problem too. There is no mysql.sock in the tmp folder even Mysql server is running. So the created shortcut is pointing nowhere. Please help us! Thanks in advance.

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.