📌  相关文章
📜  drush SQLSTATE[HY000] [2002] No such file or directory - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:54.384000             🧑  作者: Mango

代码示例1
$databases['default']['default'] = array (
  'database' => 'drupal',
  'username' => 'root',
  'password' => 'root',
  'prefix' => '',
  'host' => '127.0.0.1',
  'port' => '3306',
  'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
  'driver' => 'mysql',
  'unix_socket' => '/Applications/MAMP/tmp/mysql/mysql.sock',
);