Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

drush SQLSTATE[HY000] [2002] No such file or directory

$databases['default']['default'] = array (
  'database' => 'drupal',
  'username' => 'root',
  'password' => 'root',
  'prefix' => '',
  'host' => '127.0.0.1',
  'port' => '3306',
  'namespace' => 'DrupalCoreDatabaseDrivermysql',
  'driver' => 'mysql',
  'unix_socket' => '/Applications/MAMP/tmp/mysql/mysql.sock',
);
 
PREVIOUS NEXT
Tagged: #drush #No #file #directory
ADD COMMENT
Topic
Name
8+1 =