Win32 Application tries to connect a different port -
03-02-2005
, 05:09 AM
------=_NextPart_000_00A7_01C51F20.9C003140
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello:
Using MSVC version 6.
Running MySQL server on a non-standard=20
port number (not 3306).
Trying to connect using MySQL++ api that was ported to MSVC by Lazy Fox=20
(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=20
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?=20
Thanks,
Matteo
------=_NextPart_000_00A7_01C51F20.9C003140-- |