I installed mySQL stable version yesterday and now I tried to install myPHPadmin but for some reason when I try to run the index.php3, it pop up an error:

Fatal error: Call to unsupported or undefined function mysql_connect() in lib.inc.php3 on line 255

First I though my username and password to connecct to mySQL was wrong but I double check it but still couldn't connnect from phpPHPAdmin scripts.

I can run mySQL on telnet though, I can create database and etc. I installed mySQL into the following dir /usr/local/mysql

Please let me know what I did wrong.