Welcome Guest. Please Login or Register  


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



Threaded Mode | Print  

 Drush mysql.sock error AMPPS (1 Replies, Read 4249 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: --   

Drush mysql.sock error AMPPS
crocq
Group: Member
Post Group: Newbie
Posts: 1
Status:
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.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 1:31 pm.

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