>>Fatal error: Call to undefined function mysql_connect() in
ちゃんとエラー読んでいますか?
そういう関数がないと言っています。
そうなれば二つ理由が思いつきますよね?