Today I was installing EE 2.3.1 and found that if I had any white space after the database host name that the installation failed. I had copied and pasted the database host name from another web page.
I would think this could easily be remedied with a trim(). :D
Thanks!
Sean