Closed nathan-schmidt-viget closed 2 months ago
@nathan-schmidt-viget Did you ever run into this error switching from mariadb
to mysql
?
Failed to start wpstarter: unable to start project wpstarter because the configured database type does not match the current actual database. Please change your database type back to mariadb:10.4 and start again, export, delete, and then change configuration and start. To get back to existing type use 'ddev config --database=mariadb:10.4' and then you might want to try 'ddev debug migrate-database mysql:8.0'
I wonder if I need to revert my ddev
config, then upgrade mine locally. Do you happen to have the steps to do that?
FWIW I am having the same issue as Brian and have the same question.
@bd-viget @empee3 here are the steps to change.
Change back to mariadb
10.4
and then:
ddev export-db
ddev delete
to destroy the old databaseddev config --database=mysql:8.0
to change database typeddev start
ddev import-db
the exported sql.gz file.I was never able to get the import of the old DB to run correctly so I just started from scratch.
Summary
Tested out the other options for WP+Vite and there are not any packages that integrate with
run dev
- slack messageUpdated our custom rolled Vite+WP. Changed all
array()
to[]
and removed items we no longer need. Tweaked the vite.config so the HMR works correctly and UI devs see the changes right after they make them.I am committing a few DDEV file as if we don't included them we need to also run a bunch of other DDEV scripts in order to get the vite server running.
Issues
2
Testing Instructions
ddev start
make sure the server starts.Screenshots