Should Work
Try setting $password_localhost = "admin"; to $password_localhost = "";
I only used WAMP a few times and the error message about ODBC doesn't look good. I am not sure what the fix would be there but setting your password to nothing may make it work.