dbTalk Databases Forums  

Win32 Application tries to connect a different port

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Win32 Application tries to connect a different port in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Matteo Campana
 
Posts: n/a

Default 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--



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.