You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add missing functions required to succesfully connect with MySQL DB (#1752)
## Motivation for the change, related issues
When trying to connect to a MySQL database (in my case version 8.4.0)
several errors regarding unreachable code were triggered, making the
site unusable.
I've added the required functions one by one until there were no more
errors and I was able to successfully run a site with MySQL.
The errors seem to be related to how MySQL handles authentication
specifically.
## Implementation details
I did not yet run a full build as I am not sure if there are any
additional steps needed to do that. I would appreciate some help with
this.
## Testing Instructions (or ideally a Blueprint)
- Run a MySQL database with Docker (use latest)
- Remove SQLite integration plugin from WordPress Playground site and
change wp-config.php to point to `127.0.0.1` and provide valid db
credentials.
- Observe that trying to use the MySQL db with a Playground site causes
errors.
- Build a new wasm binary and use it (and the accompanying js file) with
the Playground site.
- Observe that now the site works with MySQL.
0 commit comments