drush
drush copied to clipboard
suggested command for installing into memory with sqlite crashes
Describe the bug
The help for si suggests this:
drush si --db-url=sqlite://:memory:?module=sqlite Install using SQLite in-memory database, that is not persisted. Useful for testing.
However, that crashes with:
In Connection.php line 1325:
[InvalidArgumentException]
Minimum requirement: driver://host/database
To Reproduce
ddev drush si --db-url=sqlite://:memory:?module=sqlite
Expected behavior Installed Drupal.
Actual behavior Crashed.
Workaround Is there another way to do the desired action?
System Configuration
| Q | A |
|---|---|
| Drush version? | 13.0.0.0-beta5 |
| Drupal version? | 11.x |
| PHP version | 8.3 |
| OS? | Mac |
Additional information Add any other context about the problem here.
I can reproduce this. Hope someone can find a fix in docs and/or code.