Windows

Drush can't connect to MySQL server on localhost using WinNMP on Windows

First time I setup and test Drush on my local machine using WinNMP on Windows executing a cache clear on a local Drupal site under Git BASH or cygwin:

  
drush @webfoobar cache-rebuild
  

... I get this error:

  
No Drupal site found, only 'drush' cache was cleared
  

I excuted the following drush command to investigate the cause of the error:

  
drush @webfoobar -d st
  

... got the following output message:

Mount SD card to "C:\Program Files" in Windows 10

The following are the steps on how to mount SD card to "C:\Program Files" in Windows 10 without using softlink:

  1. Create "C:\sdcard" folder.

  2. Go to "Administrative Tools" > "Computer Management" > "Disk Management".

  3. Right click on SD card drive, select "Change Drive Letters and Paths…", click "Remove".

  4. Right click on SD card drive, select "Change Drive Letters and Paths…", click "Add..", type "C:\sdcard" and click "OK".

Tags