Describe the bug
Platform InMotion servers use localhost:/var/lib/mysql/mysql.sock for the DB_HOST value, as the team identified the socket to be more performant than TCP/IP localhost. However, when using this host value, restorations fail due to a "No route to host" error.
To Reproduce
Steps to reproduce the behavior:
Set the DB_HOST value in wp-config.php to the mysql socket path (reach out to Jesse on Platform i team if you need assistance replicating)
Expected behavior
The database should be able to restore regardless of whether the localhost or socket is used for DB connections.
Additionally, no failure message is presented to the user when the restoration fails, see #568
Describe the bug Platform InMotion servers use
localhost:/var/lib/mysql/mysql.sock
for the DB_HOST value, as the team identified the socket to be more performant than TCP/IP localhost. However, when using this host value, restorations fail due to a "No route to host" error.To Reproduce Steps to reproduce the behavior:
Expected behavior The database should be able to restore regardless of whether the localhost or socket is used for DB connections. Additionally, no failure message is presented to the user when the restoration fails, see #568