WordPress installation with MySql connection problem
First, thank you, Demerit, for helping me. I found a patch for the fatal error and it went away. However, the installation error remained. 

At the end, turns out this error was due to MySQL password containing special characters. Once the password was changed, I was able to install without any errors. Hope this helps someone else.