Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql Drush Drupal临时文件夹_Mysql_Windows_Drupal 7_Drush - Fatal编程技术网

Mysql Drush Drupal临时文件夹

Mysql Drush Drupal临时文件夹,mysql,windows,drupal-7,drush,Mysql,Windows,Drupal 7,Drush,我有两个Drupal7站点。我想让它们与drush命令保持同步: drush sql-sync SOURCE DEST 当我回答y覆盖数据库时,我得到以下错误: mysqldump: Can't create/write to file '/tmp/filename.sql' (errorcode 2 - no such file or directory) 我的两个网站都在windows 2012 R2服务器上运行。所以临时文件夹应该是d:\temp。如果我转到命令提示符并键入echo%T

我有两个Drupal7站点。我想让它们与drush命令保持同步:

drush sql-sync SOURCE DEST
当我回答
y
覆盖数据库时,我得到以下错误:

mysqldump: Can't create/write to file '/tmp/filename.sql' (errorcode 2 - no such file or directory)
我的两个网站都在windows 2012 R2服务器上运行。所以临时文件夹应该是d:\temp。如果我转到命令提示符并键入
echo%TEMP%
它将返回d:\TEMP

有人有什么建议吗?根据我所能找到的一切,这应该可以在windows上正常工作

根据文件,有一个
$options['dump-dir']
选项,如果临时目录不是
/tmp