Closed frankiejarrett closed 7 years ago
Working on the failed Travis test in #116
@fjarrett You can merge master now to get the fix for Travis.
@fjarrett This looks good to me. Happy with it?
If you merge master to include #118, Circle CI should pass.
Circle CI should pass.
Ugh. Terminus changed its behavior.
Thanks for your work on this, @fjarrett !
When attempting to use a host with a port (
mysql.example.com:3307
) I encountered a fatal becauseDB_HOST
still has the port in it.Proposed changes to fix the above, and more:
$host
in the return array after parsingDB_HOST
$host
when a$port
existsport
element when a$port
existsDB_HOST
when the host is portless, or on socket connectionscharset
elementhttps://codex.wordpress.org/Editing_wp-config.php#Set_Database_Host https://secure.php.net/manual/en/ref.pdo-mysql.connection.php