Dennis Freise sagde: > On Tue, 15 Jun 2004 10:24:45 +0530 > "Sriranganath" <[EMAIL PROTECTED]> wrote: > >> $conn = mysql_connect("localhost:3308","user","password"); >> Warning: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) in >> /var/www/html/whatnew/a.php on line 3 > > Maybe that's because the standard MySQL port is 3306 - not 3308 ;-) >
I just tested this on my own mysql and it looks like :3308 is ignored. My MySQL is not listening on 3308, but it connected just fine. I guess because when you give localhost, you connect to mysql via scoket and not via tcp/ip. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php