Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggested command for installing into memory with sqlite crashes #6049

Open
joachim-n opened this issue Jun 25, 2024 · 1 comment
Open

suggested command for installing into memory with sqlite crashes #6049

joachim-n opened this issue Jun 25, 2024 · 1 comment

Comments

@joachim-n
Copy link
Contributor

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.

@weitzman
Copy link
Member

weitzman commented Aug 2, 2024

I can reproduce this. Hope someone can find a fix in docs and/or code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants