On Tuesday 23 March 2004 02:15, [EMAIL PROTECTED] wrote:
> >> tcp        0      0 *:3307                  *:*                    
> >> LISTEN
> >
> >It seems that the correct socket is used. Here is the output:
> >
> >unix  2      [ ACC ]     STREAM     LISTENING     3303   private/relay
> >unix  2      [ ACC ]     STREAM     LISTENING     3307   public/showq
>
>      Looks like 3307 is indeed open, so you may want to modify your
> mysql_connect to use localhost:3307 - since that is likely to be the
> port mysqld is using based upon this output.  The default is usually
> 3306, so if you do not include the :3307 port reference you may very
> well not be able to connect.
>                 Brad Eacker ([EMAIL PROTECTED])

I tried to connect to socket #3307 as follows:

$link = mysql_connect("localhost:3307", "root", "passwd");

but without any changes. Hmmm ... I did not expect this to be so hard.

Regards Sami


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to