So after much searching, I finally discovered the cause of PHP5 not being able to connect to MySQL. As it turns out going from PHP4 to PHP5 changes from a client requiring old_password to a client that requires you don’t, so be sure to reset your passwords to the new hash or it won’t work. Hope it helps.