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

Document workaround for nonstandard table prefixes #172

Open
xaqrox opened this issue Apr 24, 2023 · 0 comments
Open

Document workaround for nonstandard table prefixes #172

xaqrox opened this issue Apr 24, 2023 · 0 comments

Comments

@xaqrox
Copy link
Contributor

xaqrox commented Apr 24, 2023

Pantheon doesn't support table prefixes, but Lando can handle them with a little coaching. Normally lando pull "fails" if you have table prefixes, because it looks for a wp_users or users table. The process exits with an error, but your data is in fact in the DB, just not as Lando expected. The user just has to set LANDO_DB_USER_TABLE so Lando can check for the correct table. This is documented in PR #171, but thought I'd make an issue too for tracking purposes.

xaqrox added a commit to xaqrox/pantheon that referenced this issue Jun 9, 2023
reynoldsalec added a commit that referenced this issue Oct 5, 2023
* Document workaround for pulling with table prefixes

* Add verbatim error message to table prefix documentation. #172

* More helpful missing tables error during pull

* Conform pull/sync docs with new missing user table error.

* Fix doc styling.

---------

Co-authored-by: Alec Reynolds <alec+git@lando.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant