Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Drush mysql.sock error AMPPS



Normal Mode | Print  

 Drush mysql.sock error AMPPS (1 Replies, Read 4275 times)
sergiu
Group: Member
Post Group: Newbie
Posts: 4
Status:
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!
IP: --   


Threads
 sergiu   Drush mysql.sock error AMPPS (1 Replies, Read 4275 times)
    |--  crocq   I'm having this...   on July 15, 2015, 11:02 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 26, 2024, 7:13 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.046