List:MySQL++« Previous MessageNext Message »
From:Matteo Campana Date:March 2 2005 11:08am
Subject:Win32 Application tries to connect a different port
View as plain text  
Hello:

Using MSVC version 6.
Running MySQL server on a non-standard 
port number (not 3306).

Trying to connect using MySQL++ api that was ported to MSVC by Lazy Fox 
(v1.7.1).
Using:

Connection con("MyDB", "127.0.0.1", "root","rootpw", 3307, 1, 30,true,"");

This fails, indicating can not connect.  However, leaving the program alone 
and changing the port that the mysql server runs on to 3306, does work.

It appears that the port number in the API is simply being ignored.
Is it a bug?

Anyone else experience this? 


Thanks,
Matteo


Thread
Win32 Application tries to connect a different portMatteo Campana2 Mar
  • [patch] Re: Win32 Application tries to connect a different portChris Frey4 Mar
    • Re: [patch] Re: Win32 Application tries to connect a different portWarren Young5 Mar