すいません、質問させて下さい。
Fedora core1に全てソースから

apache 2.0.49(./configure --enable-so)
php 4.3.6(./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-sigchild --enable-mbstring --enable-mbregex --enable-zend-multibyte --with-mysql)
mysql 4.1.1(./configure --with-extra-charsets=all --with-charset=ujis --prefix=/usr/local/mysql)

で、インストールして
テストのために

<?php
$ID = mysql_connect("localhost:3306","ID","Pass")
?>

というスクリプトをサーバーに設置してブラウザから開いたのですが
いろいろと試してみたのですが

Warning: mysql_connect(): Access denied for user: 'nino'@'localhost' (Using password: YES) in /usr/local/apache2/htdocs/sqltest.php on line 2

というエラーメッセージが出るところで止まってしまいます。
原因、解決法等、どなたか御教授願います。