I’m experiencing an issue with Bedrock on Windows (XAMPP/Laragon).
Clean WordPress works perfectly, but Bedrock fails only when two parallel requests are made (for example: double-click navigation in wp-admin, or a page load + admin-ajax heartbeat at the same time).
Symptoms:
-
First click or single request → works normally
-
Two fast or parallel requests →
Error establishing a database connection -
Switching from XAMPP to Laragon does NOT change anything
-
MySQL error logs show no errors (only sha256_password deprecation warnings)
-
WP_DEBUG produces no PHP errors
-
The issue appears before WordPress loads, inside Bedrock bootstrap
Important facts:
-
Clean WordPress (same database, same server, same PHP/MySQL) works with no issues
-
Bedrock triggers the error only when there are concurrent DB connections
-
MySQL is not crashing and has no corrupt tables
-
Issue is reproducible with default Bedrock installation
What I’ve tested:
-
Correct DocumentRoot (
/web) -
Correct
.env(DB_HOST=127.0.0.1) -
SSL or non-SSL doesn’t matter
-
Tried PHP 8.x, MySQL/MariaDB different versions
-
Persistent DB connections disabled
-
IPv6 disabled,
bind-address=127.0.0.1 -
skip-name-resolve, increasedmax_connections, increased timeouts -
Created dedicated MySQL user with
mysql_native_password -
The problem persists in all configurations
Behavior summary:
Bedrock seems to fail establishing a second database connection on Windows, only when requests occur very close together. The same environment works flawlessly with classic wp-config.php.
Question:
Is this a known limitation/behavior on Windows environments?
Is there anything in the Bedrock bootstrap or environment loading that might cause race-condition issues with parallel DB connections on Windows?
Any additional debugging directions or configuration recommendations are appreciated.