Re: Fw:

From: Date: Tue, 15 Jun 2004 07:35:30 +0000
Subject: Re: Fw:
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-188303@lists.php.net to get a copy of this message
Dennis Freise sagde: > On Tue, 15 Jun 2004 10:24:45 +0530 > "Sriranganath" <sriranganath@ktkbank.com> wrote: > >> $conn = mysql_connect("localhost:3308","user","password"); >> Warning: Access denied for user: 'finfaq@localhost' (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.

« previous php.general (#188303) next »